SConscript 512 B

12345678910111213141516171819202122
  1. import rtconfig
  2. from building import *
  3. # get current directory
  4. cwd = GetCurrentDir()
  5. # The set of source files associated with this SConscript file.
  6. src = Glob('Hal_lib/src/*.c')
  7. src += [cwd + '/CMSIS_and_startup/sys.c']
  8. src += [cwd + '/CMSIS_and_startup/startup_Tk499.s']
  9. path = [
  10. cwd + '/CMSIS_and_startup/CMSIS',
  11. cwd + '/CMSIS_and_startup',
  12. cwd + '/Hal_lib/inc',]
  13. CPPDEFINES = []
  14. group = DefineGroup('TKM32_Lib', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
  15. Return('group')