1loongarch_ss = ss.source_set() 2loongarch_ss.add(files( 3 'fw_cfg.c', 4 'boot.c', 5)) 6loongarch_ss.add(when: 'CONFIG_LOONGARCH_VIRT', if_true: [files('virt.c'), fdt]) 7loongarch_ss.add(when: 'CONFIG_ACPI', if_true: files('acpi-build.c')) 8 9hw_arch += {'loongarch': loongarch_ss} 10