SConscript 306 B

123456789101112131415161718
  1. import os
  2. import rtconfig
  3. from building import *
  4. Import('SDK_LIB')
  5. cwd = GetCurrentDir()
  6. # add general drivers
  7. src = []
  8. path = [cwd]
  9. if GetDepend(['BSP_USING_TCA9539']):
  10. src += Glob('tca9539.c')
  11. group = DefineGroup('Platform', src, depend = ['BSP_USING_TCA9539'], CPPPATH = path)
  12. Return('group')