summary refs log tree commit diff stats
path: root/hw/loongarch/meson.build
blob: d494d1e28387d9270daf3219fecbb33da9a376ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
loongarch_ss = ss.source_set()
loongarch_ss.add(files(
    'boot.c',
))
common_ss.add(when: 'CONFIG_LOONGARCH_VIRT', if_true: files('fw_cfg.c'))
loongarch_ss.add(when: 'CONFIG_LOONGARCH_VIRT', if_true: files(
  'virt-fdt-build.c',
  'virt.c'))
loongarch_ss.add(when: 'CONFIG_ACPI', if_true: files('virt-acpi-build.c'))

hw_arch += {'loongarch': loongarch_ss}