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