2022-06-06 20:43:20 +08:00
|
|
|
loongarch_ss = ss.source_set()
|
2022-07-12 16:32:01 +08:00
|
|
|
loongarch_ss.add(files(
|
|
|
|
'fw_cfg.c',
|
|
|
|
))
|
2022-07-29 15:30:17 +08:00
|
|
|
loongarch_ss.add(when: 'CONFIG_LOONGARCH_VIRT', if_true: [files('virt.c'), fdt])
|
2022-07-12 16:32:05 +08:00
|
|
|
loongarch_ss.add(when: 'CONFIG_ACPI', if_true: files('acpi-build.c'))
|
2022-06-06 20:43:20 +08:00
|
|
|
|
|
|
|
hw_arch += {'loongarch': loongarch_ss}
|