19 lines
551 B
Python
19 lines
551 B
Python
# 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'):
|
|
print '================ERROR============================'
|
|
print 'Please get ftk file and put them under ftk folder'
|
|
print '================================================='
|
|
exit(0)
|
|
|
|
objs = []
|
|
|
|
Return('objs')
|