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