diff options
| author | bernard.xiong <[email protected]> | 2010-04-22 09:33:25 +0000 |
|---|---|---|
| committer | bernard.xiong <[email protected]> | 2010-04-22 09:33:25 +0000 |
| commit | c4a21b445684bf39f39ece3e1a4d069ce5a08f41 (patch) | |
| tree | 1459ca790ff3b0439964069b24fba4c97e1b5d56 /components/SConscript | |
| parent | c988a222ed97c399dd83ec32f92ce4df294dbebb (diff) | |
add more options to filesystem mount function invoke.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@665 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/SConscript')
| -rw-r--r-- | components/SConscript | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/components/SConscript b/components/SConscript index f8b5513c52..46ae96cfb3 100644 --- a/components/SConscript +++ b/components/SConscript @@ -5,8 +5,12 @@ Import('rtconfig') # build each components
objs = ''
-if 'RT_USING_MINILIBC' in dir(rtconfig) and rtconfig.RT_USING_MINILIBC:
- objs = objs + SConscript('libc/minilibc/SConscript')
+if rtconfig.CROSS_TOOL == 'gcc':
+ if 'RT_USING_NEWLIB' in dir(rtconfig) and rtconfig.RT_USING_NEWLIB:
+ objs = objs + SConscript('libc/newlib/SConscript')
+ else:
+ rtconfig.RT_USING_MINILIBC = True
+ objs = objs + SConscript('libc/minilibc/SConscript')
if 'RT_USING_FINSH' in dir(rtconfig) and rtconfig.RT_USING_FINSH:
objs = objs + SConscript('finsh/SConscript')
|
