1
0

SConscript 524 B

1234567891011121314151617181920
  1. from shutil import copy
  2. from building import *
  3. Import('rtconfig')
  4. src = []
  5. cwd = GetCurrentDir()
  6. CPPPATH = [cwd]
  7. group = []
  8. if rtconfig.PLATFORM == 'gcc' and ('mips' in rtconfig.PREFIX): # identify mips gcc tool chain
  9. try:
  10. # There is no 'sys/select.h' in tthe mips gcc toolchain; it will be copied from 'nogcc/sys/select.h'
  11. copy("../../../common/nogcc/sys/select.h", "./sys/select.h")
  12. except:
  13. pass
  14. group = DefineGroup('libc', src, depend = [], CPPPATH = CPPPATH)
  15. Return('group')