diff --git a/Makefile b/Makefile index 4c4a4d821..a5069b2e9 100644 --- a/Makefile +++ b/Makefile @@ -328,6 +328,8 @@ DEP_FILES := $(O_FILES:.o=.d) $(LIBZ_O_FILES:.o=.d) $(GODDARD_O_FILES:.o=.d) $(B # detect prefix for MIPS toolchain ifneq ($(call find-command,mips64-elf-ld),) CROSS := mips64-elf- +else ifneq ($(call find-command,mips64-ld),) + CROSS := mips64- else ifneq ($(call find-command,mips-n64-ld),) CROSS := mips-n64- else ifneq ($(call find-command,mips-linux-gnu-ld),)