Browse Source

add Module option.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@824 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong 15 years ago
parent
commit
dda87fa816
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/SConscript

+ 1 - 1
components/SConscript

@@ -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')