1 --- a/cpu/mips/config.mk
2 +++ b/cpu/mips/config.mk
4 v=$(shell $(AS) --version | grep 'GNU assembler' | egrep -o '2\.[0-9\.]+' | cut -d. -f2)
6 if [ "$v" -lt "14" ]; then \
8 + echo "-mcpu=mips32"; \
10 - echo "-march=4kc -mtune=4kc"; \
11 + echo "-mips32 -march=mips32 -mtune=mips32"; \
15 ifneq (,$(findstring 4KCle,$(CROSS_COMPILE)))
22 -MIPSFLAGS += $(ENDIANNESS)
23 +MIPSFLAGS += $(ENDIANNESS) -fno-schedule-insns -fno-schedule-insns2
25 PLATFORM_CPPFLAGS += $(MIPSFLAGS)