summaryrefslogtreecommitdiff
path: root/usr.bin/elf2ecoff
diff options
context:
space:
mode:
authorgmcgarry <gmcgarry@NetBSD.org>2002-02-23 21:34:06 +0000
committergmcgarry <gmcgarry@NetBSD.org>2002-02-23 21:34:06 +0000
commit1635c6c690b42a246f6f9ec722fa6c8132cec2ca (patch)
treeb7929487e3d2290d254ffdeed127fc9a3d23b39f /usr.bin/elf2ecoff
parent0d9e66cda7db3bd9a112db2b56400bf09285fadc (diff)
Handle being built as a host tool.
Diffstat (limited to 'usr.bin/elf2ecoff')
-rw-r--r--usr.bin/elf2ecoff/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/usr.bin/elf2ecoff/Makefile b/usr.bin/elf2ecoff/Makefile
index 439bbfae003..f2eacaf34f8 100644
--- a/usr.bin/elf2ecoff/Makefile
+++ b/usr.bin/elf2ecoff/Makefile
@@ -1,11 +1,16 @@
-# $NetBSD: Makefile,v 1.7 1999/06/09 02:54:18 simonb Exp $
+# $NetBSD: Makefile,v 1.8 2002/02/23 21:34:06 gmcgarry Exp $
# from: @(#)Makefile 5.4 (Berkeley) 5/11/90
+.include <bsd.own.mk>
+
# Build ELF to {ecoff, aout} tools on mips, for old bootblocks/PROMs.
.if (${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb")
-PROG= elf2ecoff
-.endif
+PROG= elf2ecoff
MAN= elf2ecoff.1
+.ifndef HOSTPROG
.include <bsd.prog.mk>
+.endif
+
+.endif