[BSP] add -nostartfiles in mini2440 bsp

This commit is contained in:
Bernard Xiong 2017-11-01 21:12:52 +08:00
parent d8f9c7fe40
commit 5e28f85878
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ if PLATFORM == 'gcc':
DEVICE = ' -mcpu=arm920t'
CFLAGS = DEVICE
AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp' + ' -DTEXT_BASE=' + TextBase
LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread_mini2440.map,-cref,-u,_start -T mini2440_ram.ld' + ' -Ttext ' + TextBase
LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread_mini2440.map,-cref,-u,_start -nostartfiles -T mini2440_ram.ld' + ' -Ttext ' + TextBase
CPATH = ''
LPATH = ''