1721cdcaeSMarc-André Lureaumacio_ss = ss.source_set() 2721cdcaeSMarc-André Lureaumacio_ss.add(files('macio.c')) 3721cdcaeSMarc-André Lureaumacio_ss.add(when: 'CONFIG_CUDA', if_true: files('cuda.c')) 4721cdcaeSMarc-André Lureaumacio_ss.add(when: 'CONFIG_MACIO_GPIO', if_true: files('gpio.c')) 5721cdcaeSMarc-André Lureaumacio_ss.add(when: 'CONFIG_MAC_DBDMA', if_true: files('mac_dbdma.c')) 6721cdcaeSMarc-André Lureaumacio_ss.add(when: 'CONFIG_MAC_PMU', if_true: files('pmu.c')) 7721cdcaeSMarc-André Lureau 8*de6cd759SPhilippe Mathieu-Daudésystem_ss.add_all(when: 'CONFIG_MACIO', if_true: macio_ss) 9