2022-06-06 15:43:20 +03:00
|
|
|
loongarch_ss = ss.source_set()
|
2022-07-12 11:32:01 +03:00
|
|
|
loongarch_ss.add(files(
|
2024-04-26 12:15:35 +03:00
|
|
|
'boot.c',
|
2022-07-12 11:32:01 +03:00
|
|
|
))
|
2024-09-28 00:32:54 +03:00
|
|
|
common_ss.add(when: 'CONFIG_LOONGARCH_VIRT', if_true: files('fw_cfg.c'))
|
2024-05-07 13:22:31 +03:00
|
|
|
loongarch_ss.add(when: 'CONFIG_LOONGARCH_VIRT', if_true: files('virt.c'))
|
2022-07-12 11:32:05 +03:00
|
|
|
loongarch_ss.add(when: 'CONFIG_ACPI', if_true: files('acpi-build.c'))
|
2022-06-06 15:43:20 +03:00
|
|
|
|
|
|
|
hw_arch += {'loongarch': loongarch_ss}
|