Module Name: src
Committed By: christos
Date: Mon Apr 26 00:28:01 UTC 2021
Modified Files:
src/sys/arch/mips/conf: Makefile.mips
Log Message:
Produce elf32 images for mipsn64eb too
To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/sys/arch/mips/conf/Makefile.mips
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/conf/Makefile.mips
diff -u src/sys/arch/mips/conf/Makefile.mips:1.71 src/sys/arch/mips/conf/Makefile.mips:1.72
--- src/sys/arch/mips/conf/Makefile.mips:1.71 Sun Apr 25 19:24:00 2021
+++ src/sys/arch/mips/conf/Makefile.mips Sun Apr 25 20:28:01 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.mips,v 1.71 2021/04/25 23:24:00 christos Exp $
+# $NetBSD: Makefile.mips,v 1.72 2021/04/26 00:28:01 christos Exp $
# Makefile for NetBSD
#
@@ -58,7 +58,7 @@ CFLAGS+= ${GP} -mno-abicalls -msoft-floa
CFLAGS+= -msym32 -mabi=64
AFLAGS+= -msym32 -mabi=64
.endif
-.if ${MACHINE_ARCH} == "mips64eb"
+.if !empty(MACHINE_ARCH:Mmips*64eb)
LDFLAGS+= -Wl,-m,elf64btsmip
LINKFORMAT+= -m elf64btsmip
SYSTEM_LD_TAIL_EXTRA+= \