SConscript 325 B

123456789101112131415
  1. from building import *
  2. cwd = GetCurrentDir()
  3. src = Glob('*.S')
  4. src += Glob('*.c')
  5. path = [cwd]
  6. if GetDepend(['CUS_DEMO_BOARD']):
  7. src += Glob(cwd + '/cus_demo_board/fio_mux.c')
  8. path += [cwd + '/cus_demo_board/']
  9. group = DefineGroup('Board', src, depend=[
  10. ''], CPPPATH=path)
  11. Return('group')