mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-06 00:45:22 +08:00
add more options to filesystem mount function invoke.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@665 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user