diff options
| author | armink <[email protected]> | 2019-03-12 11:40:53 +0800 |
|---|---|---|
| committer | armink <[email protected]> | 2019-03-12 11:40:53 +0800 |
| commit | 3e4a93cc91692454d9fba54c2494b5de4a4172c4 (patch) | |
| tree | 346a1962e2f41c08701c0001f6cec96068972b90 /components | |
| parent | 359d57006116be4956ef253239ad5bc6c1c199ab (diff) | |
Delete the unused '--keep' link flag when used RT_USED marco.
Diffstat (limited to 'components')
| -rw-r--r-- | components/finsh/SConscript | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/components/finsh/SConscript b/components/finsh/SConscript index 639cbebd4a..e1e2b3bbdb 100644 --- a/components/finsh/SConscript +++ b/components/finsh/SConscript @@ -28,19 +28,12 @@ msh_file.c ''') CPPPATH = [cwd] -if rtconfig.CROSS_TOOL == 'keil': - LINKFLAGS = ' --keep *.o(FSymTab)' - - if not GetDepend('FINSH_USING_MSH_ONLY'): - LINKFLAGS = LINKFLAGS + ' --keep *.o(VSymTab) ' -else: - LINKFLAGS = '' if GetDepend('FINSH_USING_MSH'): src = src + msh_src if not GetDepend('FINSH_USING_MSH_ONLY'): src = src + fsh_src -group = DefineGroup('finsh', src, depend = ['RT_USING_FINSH'], CPPPATH = CPPPATH, LINKFLAGS = LINKFLAGS) +group = DefineGroup('finsh', src, depend = ['RT_USING_FINSH'], CPPPATH = CPPPATH) Return('group') |
