diff options
| author | Bernard Xiong <[email protected]> | 2017-11-01 21:12:52 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2017-11-01 21:12:52 +0800 |
| commit | 5e28f85878d2a41daff4f2d4c4b011672e528bca (patch) | |
| tree | fa717af1e2f54480b6b91220c430e39eafbcd010 /bsp/mini2440 | |
| parent | d8f9c7fe401a3fbe2e70ff6f6b658a82877f738c (diff) | |
[BSP] add -nostartfiles in mini2440 bsp
Diffstat (limited to 'bsp/mini2440')
| -rw-r--r-- | bsp/mini2440/rtconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/mini2440/rtconfig.py b/bsp/mini2440/rtconfig.py index e8734cdafb..bdd11aafef 100644 --- a/bsp/mini2440/rtconfig.py +++ b/bsp/mini2440/rtconfig.py @@ -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 = '' |
