2
0

meson.build 376 B

12345678
  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'))
  7. system_ss.add_all(when: 'CONFIG_MACIO', if_true: macio_ss)