summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/Makefile
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2001-12-15 03:37:36 +0000
committerthorpej <thorpej@NetBSD.org>2001-12-15 03:37:36 +0000
commit3faae759ba5cf9768a481c67679bdac4e65df063 (patch)
tree4f9d6a9d187365a6999e4a684a9e782395de8fb2 /gnu/usr.bin/binutils/Makefile
parent9b744bba67b5663e3c3fd9ebb7f95d35973311be (diff)
Allow a new-toolchain build to be done without actually building
the target "native toolchain" if BOOTSTRAP_NEW_TOOLCHAIN is set. This is important if you don't have any userland at all, and you're trying to make one from which you can run toolchain2netbsd.
Diffstat (limited to 'gnu/usr.bin/binutils/Makefile')
-rw-r--r--gnu/usr.bin/binutils/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/Makefile b/gnu/usr.bin/binutils/Makefile
index 540d9b1ce42..ef2e3f4d9d0 100644
--- a/gnu/usr.bin/binutils/Makefile
+++ b/gnu/usr.bin/binutils/Makefile
@@ -1,13 +1,15 @@
-# $NetBSD: Makefile,v 1.14 2001/08/06 19:59:39 tv Exp $
+# $NetBSD: Makefile,v 1.15 2001/12/15 03:37:37 thorpej Exp $
.include <bsd.own.mk>
.if defined(USE_NEW_TOOLCHAIN)
+.if !defined(BOOTSTRAP_NEW_TOOLCHAIN)
.include "${.CURDIR}/common/arch/${MACHINE_ARCH}/defs.mk"
SUBDIR= common gas gprof ld ${G_PROGRAMS:C/-new$//:cxxfilt=c++filt}
SUBDIR:= ${SUBDIR:O} # alphabetize
+.endif
.else
#