add group script support.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@641 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong
2010-04-18 15:27:13 +00:00
parent d307a74a60
commit 5562ddf77a
5 changed files with 91 additions and 17 deletions

View File

@@ -3,8 +3,26 @@ Import('env')
Import('rtconfig')
# build each components
objs = ''
if rtconfig.RT_USING_MINILIBC:
objs = objs + SConscript('libc/minilibc/SConscript')
if rtconfig.RT_USING_FINSH:
objs = objs + SConscript('finsh/SConscript')
if rtconfig.RT_USING_DFS:
objs = objs + SConscript('dfs/SConscript')
if rtconfig.RT_USING_LWIP:
objs = objs + SConscript('net/lwip/SConscript')
if rtconfig.RT_USING_RTGUI:
objs = objs + SConscript('rtgui/SConscript')
# build each modules
SConscript('hello/SConscript')
SConscript('thread/SConscript')
if rtconfig.CROSS_TOOL == 'gcc':
SConscript('hello/SConscript')
SConscript('thread/SConscript')
Return('objs')