git-svn-id: https://rt-thread.googlecode.com/svn/trunk@824 bbd45198-f89e-11dd-88c7-29a3b14d5316
@@ -28,7 +28,7 @@ if 'RT_USING_RTGUI' in dir(rtconfig) and rtconfig.RT_USING_RTGUI:
objs = objs + SConscript('rtgui/SConscript')
# build each modules
-if rtconfig.CROSS_TOOL == 'gcc':
+if rtconfig.CROSS_TOOL == 'gcc' and rtconfig.RT_USING_MODULE:
SConscript('module/basicapp/SConscript')
Return('objs')