From 89b1a9ca737abcceaa5da9dec8581eb3d024729a Mon Sep 17 00:00:00 2001 From: thorpej Date: Mon, 31 Dec 2001 23:04:11 +0000 Subject: Introduce 3 new MK* variables that have effect in the USE_NEW_TOOLCHAIN case: MKBFD If set to "no", disables building of libbfd, libiberty, and all things that depend on them (binutils/gas/ld, gdb, dbsym, mdsetimage). MKGDB If set to "no", disables bulding of gdb. MKGCC If set to "no", disables building of gcc and the gcc-related libraries (libg2c, libgcc, libobjc, libstdc++). These are useful for building platforms for which either of the following situations are true: (1) You have no userland from which to run toolchain2netbsd in order to build the appropriate toolchain build framework. (2) The platform which you are building requires a newer set of tools than are currently in the tree (e.g. x86-64, ia64). --- 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 69af4ee127a..6fff60e1825 100644 --- a/gnu/usr.bin/binutils/Makefile +++ b/gnu/usr.bin/binutils/Makefile @@ -1,13 +1,15 @@ -# $NetBSD: Makefile,v 1.16 2001/12/19 23:54:20 tv Exp $ +# $NetBSD: Makefile,v 1.17 2001/12/31 23:04:11 thorpej Exp $ .include .if defined(USE_NEW_TOOLCHAIN) +.if ${MKBFD} != "no" .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 # MKBFD != no .else # -- cgit