2013-01-08 22:40:58 +08:00
|
|
|
# for module compiling
|
|
|
|
import os
|
|
|
|
from building import *
|
|
|
|
Import('RTT_ROOT')
|
|
|
|
|
|
|
|
if os.path.isfile(os.path.join(RTT_ROOT, 'components', 'external', 'ftk',
|
|
|
|
'ftk/src/os/rt-thread/SConscript')):
|
|
|
|
objs = SConscript('ftk/src/os/rt-thread/SConscript')
|
|
|
|
else:
|
|
|
|
if GetDepend('RT_USING_FTK'):
|
2017-10-26 10:51:21 +08:00
|
|
|
print('================ERROR============================')
|
|
|
|
print('Please get ftk file and put them under ftk folder')
|
|
|
|
print('=================================================')
|
2013-01-08 22:40:58 +08:00
|
|
|
exit(0)
|
|
|
|
|
|
|
|
objs = []
|
|
|
|
|
|
|
|
Return('objs')
|