From 81d7ef1e9f0de1996eb582f688120344b615f4e1 Mon Sep 17 00:00:00 2001 From: Grissiom Date: Tue, 14 Apr 2015 18:22:46 +0800 Subject: SConscript: fix the `--keep` parameter for Keil The old `--keep` parameter for Keil is wrong. RTFM of Keil and get it right. --- src/SConscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/SConscript') diff --git a/src/SConscript b/src/SConscript index 6d59365195..0242d4634c 100644 --- a/src/SConscript +++ b/src/SConscript @@ -9,9 +9,9 @@ if rtconfig.CROSS_TOOL == 'keil': # add more link flags for module and components_init. LINKFLAGS = '' if GetDepend('RT_USING_MODULE'): - LINKFLAGS = ' --keep __rtmsym_* ' + LINKFLAGS = ' --keep *.o(RTMSymTab) ' if GetDepend('RT_USING_COMPONENTS_INIT'): - LINKFLAGS = ' --keep __rt_init* ' + LINKFLAGS = ' --keep *.o(.rti_fn.*) ' else: LINKFLAGS = '' -- cgit v1.3.1