diff --git a/src/SConscript b/src/SConscript index 8dd44f5df2..68523978d6 100644 --- a/src/SConscript +++ b/src/SConscript @@ -6,9 +6,6 @@ src = Glob('*.c') CPPPATH = [RTT_ROOT + '/include'] -if GetDepend('RT_USING_MODULE') == False: - SrcRemove(src, ['module.c']) - if GetDepend('RT_USING_HEAP') == False or GetDepend('RT_USING_SMALL_MEM') == False: SrcRemove(src, ['mem.c'])