mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-06 22:34:34 +08:00
MIPS: ls1bdev: default instruction set MIPSr2
-mips32 will break the compilation if FPU enabled. Signed-off-by: duhuanpeng <548708880@qq.com>
This commit is contained in:
parent
f295149f20
commit
7f04500a92
@ -36,7 +36,7 @@ OBJDUMP = PREFIX + 'objdump'
|
|||||||
OBJCPY = PREFIX + 'objcopy'
|
OBJCPY = PREFIX + 'objcopy'
|
||||||
READELF = PREFIX + 'readelf'
|
READELF = PREFIX + 'readelf'
|
||||||
|
|
||||||
DEVICE = ' -mips32'
|
DEVICE = ' -mips32r2'
|
||||||
CFLAGS = DEVICE + ' -EL -G0 -mno-abicalls -fno-pic -fno-builtin -fno-exceptions -ffunction-sections -fomit-frame-pointer'
|
CFLAGS = DEVICE + ' -EL -G0 -mno-abicalls -fno-pic -fno-builtin -fno-exceptions -ffunction-sections -fomit-frame-pointer'
|
||||||
AFLAGS = ' -c' + DEVICE + ' -EL -fno-pic -fno-builtin -mno-abicalls -x assembler-with-cpp'
|
AFLAGS = ' -c' + DEVICE + ' -EL -fno-pic -fno-builtin -mno-abicalls -x assembler-with-cpp'
|
||||||
LFLAGS = DEVICE + ' -nostartfiles -EL -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T ls1b_ram.lds'
|
LFLAGS = DEVICE + ' -nostartfiles -EL -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T ls1b_ram.lds'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user