SConscript: fix the --keep parameter for Keil

The old `--keep` parameter for Keil is wrong. RTFM of Keil and get it
right.
This commit is contained in:
Grissiom
2015-04-15 16:13:29 +08:00
committed by ardafu
parent 39452b67b0
commit 81d7ef1e9f
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -28,10 +28,10 @@ msh.c
CPPPATH = [cwd]
if rtconfig.CROSS_TOOL == 'keil':
LINKFLAGS = ' --keep __fsym_*'
LINKFLAGS = ' --keep *.o(FSymTab)'
if not GetDepend('FINSH_USING_MSH_ONLY'):
LINKFLAGS = LINKFLAGS + ' --keep __vsym_* '
LINKFLAGS = LINKFLAGS + ' --keep *.o(VSymTab) '
else:
LINKFLAGS = ''