SConscript 533 B

123456789101112131415161718
  1. # for module compiling
  2. import os
  3. from building import *
  4. Import('RTT_ROOT')
  5. if os.path.isfile(os.path.join(RTT_ROOT, 'components', 'external', 'ftk',
  6. 'ftk/src/os/rt-thread/SConscript')):
  7. objs = SConscript('ftk/src/os/rt-thread/SConscript')
  8. else:
  9. if GetDepend('RT_USING_FTK'):
  10. print '================ERROR============================'
  11. print 'Please get ftk file and put them under ftk folder'
  12. print '================================================='
  13. exit(0)
  14. objs = []
  15. Return('objs')