SConscript 447 B

12345678910111213141516171819202122232425
  1. import os
  2. import sys
  3. Import('rtconfig')
  4. from building import *
  5. #get current directory
  6. cwd = GetCurrentDir()
  7. # Update include path
  8. path = [ cwd, cwd + '/boot' ]
  9. # The set of source files associated with this SConscript file.
  10. src = Split('''
  11. system.c
  12. hpm_l1c_drv.c
  13. hpm_sysctl_drv.c
  14. hpm_clock_drv.c
  15. hpm_otp_drv.c
  16. boot/hpm_bootheader.c
  17. ''')
  18. group = DefineGroup('SoC', src, depend = [''], CPPPATH = path)
  19. Return ('group')