summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2010-08-03 08:48:38 +0000
committerbernard.xiong <[email protected]>2010-08-03 08:48:38 +0000
commitdda87fa8164ca216cf24a6838377ef5724e5a7c8 (patch)
treeea3aba70a189169fec14b0283038026ede14f33e
parent5f399b692a5fbf1436d3276060d875e15f24a61b (diff)
add Module option.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@824 bbd45198-f89e-11dd-88c7-29a3b14d5316
-rw-r--r--components/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/SConscript b/components/SConscript
index ecdcbab554..427c0caeda 100644
--- a/components/SConscript
+++ b/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')