summaryrefslogtreecommitdiff
path: root/bsp
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2017-11-01 21:05:13 +0800
committerBernard Xiong <[email protected]>2017-11-01 21:05:13 +0800
commit7ed7aadd2448db4962041c1976e31cedf0f604e7 (patch)
tree66cf01a4e14d58e9276e19b4628681022bb29768 /bsp
parent41a9d2faca0d6e7f315f6ec25ef75c662c1fc0ab (diff)
[BSP] add -nostartfiles in lpc2478 bsp
Diffstat (limited to 'bsp')
-rw-r--r--bsp/lpc2478/rtconfig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsp/lpc2478/rtconfig.py b/bsp/lpc2478/rtconfig.py
index 05398aff4b..5e99582469 100644
--- a/bsp/lpc2478/rtconfig.py
+++ b/bsp/lpc2478/rtconfig.py
@@ -39,9 +39,9 @@ if PLATFORM == 'gcc':
OBJCPY = PREFIX + 'objcopy'
DEVICE = ' -mcpu=arm7tdmi-s'
- CFLAGS = DEVICE + ' -DRT_USING_MINILIBC'
+ CFLAGS = DEVICE
AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp'
- LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread-lpc2478.map,-cref,-u,Reset_Handler -T lpc2478_rom.lds'
+ LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread-lpc2478.map,-cref,-u,Reset_Handler -nostartfiles -T lpc2478_rom.lds'
CPATH = ''
LPATH = ''