Modify the link mode, compile each component to static library firstly and then link them;

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1406 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
qiuyiuestc@gmail.com 2011-05-16 00:34:01 +00:00
parent c99ca774a1
commit 8a9792317f
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ elif rtconfig.PLATFORM == 'armcc':
libs = PrepareBuilding(env, RTT_ROOT)
if GetDepend('RT_USING_RTGUI'):
libs = objs + SConscript(RTT_ROOT + '/examples/gui/SConscript', variant_dir='build/examples/gui', duplicate=0)
libs = libs + SConscript(RTT_ROOT + '/examples/gui/SConscript', variant_dir='build/examples/gui', duplicate=0)
# libc testsuite
# libs = libs + SConscript(RTT_ROOT + '/examples/libc/SConscript', variant_dir='build/examples/libc', duplicate=0)