SConscript 420 B

1234567891011121314151617181920
  1. # RT-Thread building script for bridge
  2. import os
  3. from building import *
  4. Import('rtconfig')
  5. cwd = GetCurrentDir()
  6. group = []
  7. list = os.listdir(cwd)
  8. # add common code files
  9. if rtconfig.CPU == "i386" :
  10. group = group
  11. else :
  12. group = group + SConscript(os.path.join(cwd, 'common', 'SConscript'))
  13. # cpu porting code files
  14. group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript'))
  15. Return('group')