summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2021-04-25 15:11:28 +0000
committerchristos <christos@NetBSD.org>2021-04-25 15:11:28 +0000
commitc1b2172eff258397f8d3b49e0c6bbadcbc47ff95 (patch)
treedc3426b9ccbfc9544598ab24236746830a11dee9 /tools
parent2b58d6dd66363007d79f97e5d3fceb6d5677281b (diff)
Make mips-elf2ecoff available for all mips
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 3c1a70ba4ae..6ef0dc6ec18 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.207 2021/02/06 16:14:55 dbj Exp $
+# $NetBSD: Makefile,v 1.208 2021/04/25 15:11:28 christos Exp $
.include <bsd.own.mk>
.include <bsd.endian.mk>
@@ -180,8 +180,7 @@ SUBDIR+= arm-elf2aout
SUBDIR+= m68k-elf2aout
.endif
-.if (${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb" || \
- ${MACHINE_ARCH} == "mips64el" || ${MACHINE_ARCH} == "mips64eb")
+.if !empty(MACHINE_ARCH:Mmips*)
SUBDIR+= mips-elf2ecoff
.endif