From 7345458d37bf1da1b4c6a8398ec7be12ae84d39d Mon Sep 17 00:00:00 2001 From: Stanislav Galabov Date: Fri, 4 Mar 2016 05:36:53 +0000 Subject: [PATCH] Fix ubldr build failure on mipsn32 and mipsn32el targets. Approved by: adrian (mentor) --- sys/boot/common/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/boot/common/Makefile.inc b/sys/boot/common/Makefile.inc index bce0eb590238..480279d7c21e 100644 --- a/sys/boot/common/Makefile.inc +++ b/sys/boot/common/Makefile.inc @@ -20,7 +20,7 @@ SRCS+= load_elf64.c reloc_elf64.c SRCS+= load_elf64.c reloc_elf64.c .elif ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el" SRCS+= load_elf64.c reloc_elf64.c -.elif ${MACHINE_ARCH} == "mips" || ${MACHINE_ARCH} == "mipsel" +.elif ${MACHINE} == "mips" SRCS+= load_elf32.c reloc_elf32.c .endif