Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20210330' into...
[qemu/ar7.git] / hw / misc / macio / meson.build
blob17282da20a66d3568b1fd92ad8e83d319e9d568b
1 macio_ss = ss.source_set()
2 macio_ss.add(files('macio.c'))
3 macio_ss.add(when: 'CONFIG_CUDA', if_true: files('cuda.c'))
4 macio_ss.add(when: 'CONFIG_MACIO_GPIO', if_true: files('gpio.c'))
5 macio_ss.add(when: 'CONFIG_MAC_DBDMA', if_true: files('mac_dbdma.c'))
6 macio_ss.add(when: 'CONFIG_MAC_PMU', if_true: files('pmu.c'))
8 softmmu_ss.add_all(when: 'CONFIG_MACIO', if_true: macio_ss)