diff options
| author | [email protected] <[email protected]> | 2011-06-19 02:47:51 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-06-19 02:47:51 +0000 |
| commit | 1eca19cb01309eaddbdc42cb12c17f1425124800 (patch) | |
| tree | a0276133462bf9e20ec83f2944e0cbaa10d7e824 /src/SConscript | |
| parent | ded91b1072eedccf67e8d313dc1a0cce79de9eb3 (diff) | |
eliminate compile warning
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1524 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src/SConscript')
| -rw-r--r-- | src/SConscript | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/SConscript b/src/SConscript index 01bd929425..77018f4d2c 100644 --- a/src/SConscript +++ b/src/SConscript @@ -1,8 +1,13 @@ Import('RTT_ROOT') +Import('rtconfig') from building import * src = Glob('*.c') CPPPATH = [RTT_ROOT + '/include'] -group = DefineGroup('Kernel', src, depend = [''], CPPPATH = CPPPATH) +if rtconfig.CROSS_TOOL == 'keil' and GetDepend('RT_USING_MODULE') == True: + LINKFLAGS = ' --keep __rtmsym_* ' +else: + LINKFLAGS = '' +group = DefineGroup('Kernel', src, depend = [''], CPPPATH = CPPPATH, LINKFLAGS = LINKFLAGS) Return('group') |
