xref: /qemu/hw/loongarch/meson.build (revision 513823e7521a09ed7ad1e32e6454bac3b2cbf52d)
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(
7  'virt-fdt-build.c',
8  'virt.c'))
9loongarch_ss.add(when: 'CONFIG_ACPI', if_true: files('virt-acpi-build.c'))
10
11hw_arch += {'loongarch': loongarch_ss}
12