From 5562ddf77a068f43cd94390f914afb72dc5e2142 Mon Sep 17 00:00:00 2001 From: "bernard.xiong" Date: Sun, 18 Apr 2010 15:27:13 +0000 Subject: add group script support. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@641 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/SConscript | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'components/SConscript') diff --git a/components/SConscript b/components/SConscript index 0f0065d8f4..4357552017 100644 --- a/components/SConscript +++ b/components/SConscript @@ -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') -- cgit v1.3.1