diff --git a/src/SConscript b/src/SConscript index a8e8a0dcaa..f9c7de573d 100644 --- a/src/SConscript +++ b/src/SConscript @@ -2,16 +2,16 @@ Import('RTT_ROOT') Import('rtconfig') from building import * -src = Glob('*.c') +src = Glob('*.c') CPPPATH = [RTT_ROOT + '/include'] if rtconfig.CROSS_TOOL == 'keil' and GetDepend('RT_USING_MODULE') == True: LINKFLAGS = ' --keep __rtmsym_* ' else: - LINKFLAGS = '' + LINKFLAGS = '' if GetDepend('RT_USING_MODULE') == False: - SrcRemove(src, ['rtm.c', 'module.c']) + SrcRemove(src, ['module.c']) if GetDepend('RT_USING_HEAP') == False or GetDepend('RT_USING_SMALL_MEM') == False: SrcRemove(src, ['mem.c']) @@ -28,6 +28,6 @@ if GetDepend('RT_USING_MEMHEAP') == False: if GetDepend('RT_USING_DEVICE') == False: SrcRemove(src, ['device.c']) -group = DefineGroup('Kernel', src, depend = [''], CPPPATH = CPPPATH, LINKFLAGS = LINKFLAGS) +group = DefineGroup('Kernel', src, depend = [''], CPPPATH = CPPPATH, LINKFLAGS = LINKFLAGS) Return('group')