[BSP] add -nostartfiles in lpc2478 bsp

This commit is contained in:
Bernard Xiong 2017-11-01 21:05:13 +08:00
parent 41a9d2faca
commit 7ed7aadd24
1 changed files with 2 additions and 2 deletions

View File

@ -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 = ''