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(
|
|
|
|
'fw_cfg.c',
|
|
|
|
))
|
2022-07-29 10:30:17 +03:00
|
|
|
loongarch_ss.add(when: 'CONFIG_LOONGARCH_VIRT', if_true: [files('virt.c'), fdt])
|
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}
|