SConscript 328 B

12345678910111213141516
  1. from building import *
  2. group = []
  3. src = []
  4. cwd = GetCurrentDir()
  5. CPPPATH = [cwd + '/../include']
  6. if GetDepend('RT_SPI_ROCKCHIP_SFC'):
  7. src += ['spi-rockchip-sfc.c']
  8. if GetDepend('RT_SPI_ROCKCHIP'):
  9. src += ['spi-rockchip.c']
  10. group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
  11. Return('group')