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:
duhuanpeng 2020-04-03 20:33:33 +08:00 committed by Du Huanpeng
parent f295149f20
commit 7f04500a92
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ OBJDUMP = PREFIX + 'objdump'
OBJCPY = PREFIX + 'objcopy'
READELF = PREFIX + 'readelf'
DEVICE = ' -mips32'
DEVICE = ' -mips32r2'
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'
LFLAGS = DEVICE + ' -nostartfiles -EL -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T ls1b_ram.lds'