diff options
| author | bernard.xiong <[email protected]> | 2010-04-18 15:27:13 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2010-04-18 15:27:13 +0000 |
| commit | 5562ddf77a068f43cd94390f914afb72dc5e2142 (patch) | |
| tree | a2ce0eced1baf167aa007dbef8c7b63ac1333e9c /components/SConscript | |
| parent | d307a74a60ef94b80f2e1b66f83232171c5cb1b0 (diff) | |
add group script support.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@641 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/SConscript')
| -rw-r--r-- | components/SConscript | 22 |
1 files changed, 20 insertions, 2 deletions
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')
|
