summaryrefslogtreecommitdiff
path: root/bsp/simlinux/rtconfig.py
diff options
context:
space:
mode:
authorprife <[email protected]>2013-01-14 22:38:54 +0800
committerprife <[email protected]>2013-01-14 22:38:54 +0800
commit07da6caafd4f907edd57f5737e0e7f703494ed8c (patch)
treeda0421a8f9b3892c656b9842eb74e9b51f21a3dd /bsp/simlinux/rtconfig.py
parent8f70786c3069b2afa10161f950942aa3f02198eb (diff)
surport finsh
Diffstat (limited to 'bsp/simlinux/rtconfig.py')
-rwxr-xr-xbsp/simlinux/rtconfig.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bsp/simlinux/rtconfig.py b/bsp/simlinux/rtconfig.py
index 020649f329..6a660e832f 100755
--- a/bsp/simlinux/rtconfig.py
+++ b/bsp/simlinux/rtconfig.py
@@ -35,11 +35,13 @@ if PLATFORM == 'gcc':
OBJCPY = PREFIX + 'objcopy'
DEVICE = ' -ffunction-sections -fdata-sections'
+ DEVICE = ' '
CFLAGS = DEVICE + ' -I/usr/include -w -D_REENTRANT'
AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp'
#LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread-linux.map,-cref,-u,Reset_Handler -T stm32_rom.ld'
#LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread-linux.map -lpthread'
- LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread-linux.map -pthread'
+ #LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread-linux.map -pthread'
+ LFLAGS = DEVICE + ' -Wl,-Map=rtthread-linux.map -pthread -T gcc.ld'
CPATH = ''
LPATH = ''