mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 19:44:24 +08:00
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:
@@ -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 = ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user