SConscript 449 B

12345678910111213141516171819202122232425
  1. Import('RTT_ROOT')
  2. Import('rtconfig')
  3. from building import *
  4. cwd = GetCurrentDir()
  5. # add the general drivers.
  6. src = Split("""
  7. """)
  8. # add lcd drivers.
  9. if GetDepend('BSP_USING_LCD'):
  10. src += ['drv_lcd.c']
  11. if GetDepend('BSP_USING_TOUCH'):
  12. src += ['drv_touch.c']
  13. if GetDepend('BSP_USING_DRAW_PANEL_EXAMPLE'):
  14. src += ['draw_panel.c']
  15. path = [cwd]
  16. group = DefineGroup('Applications', src, depend = [''], CPPPATH = path)
  17. Return('group')