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