소스 검색

add Module option.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@824 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong 15 년 전
부모
커밋
dda87fa816
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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')