# for module compilingimportosfrombuildingimport*Import('RTT_ROOT')ifos.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:ifGetDepend('RT_USING_FTK'):
print('================ERROR============================')print('Please get ftk file and put them under ftk folder')print('=================================================')