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