diff options
| author | thorpej <thorpej@NetBSD.org> | 2001-12-31 23:04:11 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2001-12-31 23:04:11 +0000 |
| commit | 89b1a9ca737abcceaa5da9dec8581eb3d024729a (patch) | |
| tree | 18fb5f9c7423b12504bb3a1aa261b28ed17f5eb3 /gnu/lib | |
| parent | 88371dafeb85f6406db90ab2301fb774172ce4c3 (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/lib')
| -rw-r--r-- | gnu/lib/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile index 1cf39be1ef3..489496b52ce 100644 --- a/gnu/lib/Makefile +++ b/gnu/lib/Makefile @@ -1,10 +1,18 @@ -# $NetBSD: Makefile,v 1.28 2001/12/19 23:54:16 tv Exp $ +# $NetBSD: Makefile,v 1.29 2001/12/31 23:04:12 thorpej Exp $ .include <bsd.own.mk> .if defined(USE_NEW_TOOLCHAIN) -SUBDIR+= libbfd libg2c libgcc libiberty libobjc libmalloc libstdc++ +.if ${MKBFD} != "no" +SUBDIR+= libbfd libiberty +.endif + +.if ${MKGCC} != "no" +SUBDIR+= libg2c libgcc libobjc libstdc++ +.endif + +SUBDIR+= libmalloc .else # |
