summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2001-12-31 23:04:11 +0000
committerthorpej <thorpej@NetBSD.org>2001-12-31 23:04:11 +0000
commit89b1a9ca737abcceaa5da9dec8581eb3d024729a (patch)
tree18fb5f9c7423b12504bb3a1aa261b28ed17f5eb3 /gnu/usr.bin/binutils
parent88371dafeb85f6406db90ab2301fb774172ce4c3 (diff)
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).
Diffstat (limited to 'gnu/usr.bin/binutils')
-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 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 <bsd.own.mk>
.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
#