Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
9 lines
377 B
Meson
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)
|