2010-11-20 20:33:48 +08:00
|
|
|
# for module compiling
|
|
|
|
import os
|
2010-11-21 10:04:54 +08:00
|
|
|
from building import *
|
2010-11-20 20:33:48 +08:00
|
|
|
Import('RTT_ROOT')
|
|
|
|
|
2010-11-21 10:04:54 +08:00
|
|
|
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 = []
|
2010-11-20 20:33:48 +08:00
|
|
|
|
|
|
|
Return('objs')
|