From 3faae759ba5cf9768a481c67679bdac4e65df063 Mon Sep 17 00:00:00 2001 From: thorpej Date: Sat, 15 Dec 2001 03:37:36 +0000 Subject: 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. --- gnu/usr.bin/binutils/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gnu/usr.bin/binutils') 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 .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 # -- cgit