qemu-patch-raspberry4/hw/misc/macio/meson.build
Marc-André Lureau 721cdcae73 meson: convert hw/misc
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-08-21 06:30:29 -04:00

9 lines
377 B
Meson

macio_ss = ss.source_set()
macio_ss.add(files('macio.c'))
macio_ss.add(when: 'CONFIG_CUDA', if_true: files('cuda.c'))
macio_ss.add(when: 'CONFIG_MACIO_GPIO', if_true: files('gpio.c'))
macio_ss.add(when: 'CONFIG_MAC_DBDMA', if_true: files('mac_dbdma.c'))
macio_ss.add(when: 'CONFIG_MAC_PMU', if_true: files('pmu.c'))
softmmu_ss.add_all(when: 'CONFIG_MACIO', if_true: macio_ss)