SConscript 334 B

123456789101112131415161718
  1. Import('RTT_ROOT')
  2. Import('rtconfig')
  3. from building import *
  4. cwd = os.path.join(str(Dir('#')), 'drivers')
  5. # add the general drvers.
  6. src = Glob("*.c")
  7. # add Ethernet drvers.
  8. #if GetDepend('RT_USING_LED'):
  9. # src += ['led.c']
  10. CPPPATH = [cwd]
  11. group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
  12. Return('group')