Sconscript 339 B

1234567891011121314151617181920
  1. Import('RTT_ROOT')
  2. Import('rtconfig')
  3. from building import *
  4. cwd = GetCurrentDir()
  5. # add the general drivers.
  6. src = []
  7. if GetDepend(['BSP_USING_FLASH']):
  8. src += ['2837x_FLASH_lnk_cpu1.cmd']
  9. else:
  10. src += ['2837x_RAM_lnk_cpu1.cmd']
  11. path = [cwd]
  12. path += [cwd]
  13. group = DefineGroup('Drivers', src, depend = [''])
  14. Return('group')