SConscript 295 B

123456789101112131415161718
  1. Import('RTT_ROOT')
  2. Import('rtconfig')
  3. from building import *
  4. cwd = GetCurrentDir()
  5. # add the general drivers.
  6. src = Split("""
  7. """)
  8. if GetDepend(['RT_USING_SERIAL']):
  9. src += ['drv_uart.c']
  10. path = [cwd]
  11. group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
  12. Return('group')