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