summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/Makefile.inc
diff options
context:
space:
mode:
authorsgalabov <sgalabov@FreeBSD.org>2016-03-04 05:36:53 +0000
committersgalabov <sgalabov@FreeBSD.org>2016-03-04 05:36:53 +0000
commit51bebbd2591e217e5ec697ea2202e2c203705d98 (patch)
tree430eb2ff8768b18e70a852869ae5c8d76f7c0631 /sys/boot/common/Makefile.inc
parent5c77da40c3bc5139d0f06ece21c78115a1e5f58b (diff)
downloadFreeBSD-src-51bebbd2591e217e5ec697ea2202e2c203705d98.zip
FreeBSD-src-51bebbd2591e217e5ec697ea2202e2c203705d98.tar.gz
Fix ubldr build failure on mipsn32 and mipsn32el targets.
Approved by: adrian (mentor)
Diffstat (limited to 'sys/boot/common/Makefile.inc')
-rw-r--r--sys/boot/common/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/common/Makefile.inc b/sys/boot/common/Makefile.inc
index bce0eb5..480279d 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
OpenPOWER on IntegriCloud