diff --git a/components/SConscript b/components/SConscript index ecdcbab55444c58f5d7bf8cdf4bf26b8d3df5fc3..427c0caedaf2765a75c5e7371375d4105285c504 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')