diff options
| author | Grissiom <[email protected]> | 2015-04-14 18:22:46 +0800 |
|---|---|---|
| committer | ardafu <[email protected]> | 2015-04-15 16:13:29 +0800 |
| commit | 81d7ef1e9f0de1996eb582f688120344b615f4e1 (patch) | |
| tree | 3a15f23e6f50a4ba746e7fd1876d55bbd4da112e /src | |
| parent | 39452b67b0351ac7b0b941971c4fe3be8f76d57e (diff) | |
SConscript: fix the `--keep` parameter for Keil
The old `--keep` parameter for Keil is wrong. RTFM of Keil and get it
right.
Diffstat (limited to 'src')
| -rw-r--r-- | src/SConscript | 4 |
1 files changed, 2 insertions, 2 deletions
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 = '' |
