From c4a21b445684bf39f39ece3e1a4d069ce5a08f41 Mon Sep 17 00:00:00 2001 From: "bernard.xiong" Date: Thu, 22 Apr 2010 09:33:25 +0000 Subject: add more options to filesystem mount function invoke. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@665 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/SConscript | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'components/SConscript') 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') -- cgit v1.3.1