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/usr.sbin | |
| 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/usr.sbin')
| -rw-r--r-- | gnu/usr.sbin/dbsym/Makefile | 6 | ||||
| -rw-r--r-- | gnu/usr.sbin/mdsetimage/Makefile | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/gnu/usr.sbin/dbsym/Makefile b/gnu/usr.sbin/dbsym/Makefile index bf26925b490..51a1de562d4 100644 --- a/gnu/usr.sbin/dbsym/Makefile +++ b/gnu/usr.sbin/dbsym/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2001/11/12 23:16:19 tv Exp $ +# $NetBSD: Makefile,v 1.3 2001/12/31 23:04:12 thorpej Exp $ .include <bsd.own.mk> -.if defined(USE_NEW_TOOLCHAIN) +.if defined(USE_NEW_TOOLCHAIN) && ${MKBFD} != "no" TOP= ${.CURDIR}/../.. DIST= ${TOP}/dist/toolchain @@ -28,7 +28,7 @@ CPPFLAGS+= -I${TOP}/lib/libbfd/arch/${MACHINE_ARCH} ${G_INCLUDES} LDADD+= -lintl DPADD+= ${LIBINTL} .endif # HOSTPROG -.endif # USE_NEW_TOOLCHAIN +.endif # USE_NEW_TOOLCHAIN && MKBFD != no .ifndef HOSTPROG .include <bsd.prog.mk> diff --git a/gnu/usr.sbin/mdsetimage/Makefile b/gnu/usr.sbin/mdsetimage/Makefile index a2a73f81230..0d5d7eae887 100644 --- a/gnu/usr.sbin/mdsetimage/Makefile +++ b/gnu/usr.sbin/mdsetimage/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.5 2001/11/12 23:16:19 tv Exp $ +# $NetBSD: Makefile,v 1.6 2001/12/31 23:04:13 thorpej Exp $ .include <bsd.own.mk> -.if defined(USE_NEW_TOOLCHAIN) +.if defined(USE_NEW_TOOLCHAIN) && ${MKBFD} != "no" TOP= ${.CURDIR}/../.. DIST= ${TOP}/dist/toolchain @@ -28,7 +28,7 @@ CPPFLAGS+= -I${TOP}/lib/libbfd/arch/${MACHINE_ARCH} ${G_INCLUDES} LDADD+= -lintl DPADD+= ${LIBINTL} .endif # HOSTPROG -.endif # USE_NEW_TOOLCHAIN +.endif # USE_NEW_TOOLCHAIN && MKBFD != no .ifndef HOSTPROG .include <bsd.prog.mk> |
