diff options
| author | thorpej <thorpej@NetBSD.org> | 2001-12-15 03:37:36 +0000 |
|---|---|---|
| committer | thorpej <thorpej@NetBSD.org> | 2001-12-15 03:37:36 +0000 |
| commit | 3faae759ba5cf9768a481c67679bdac4e65df063 (patch) | |
| tree | 4f9d6a9d187365a6999e4a684a9e782395de8fb2 /gnu/usr.bin/gdb | |
| parent | 9b744bba67b5663e3c3fd9ebb7f95d35973311be (diff) | |
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.
Diffstat (limited to 'gnu/usr.bin/gdb')
| -rw-r--r-- | gnu/usr.bin/gdb/gdb.new/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/usr.bin/gdb/gdb.new/Makefile b/gnu/usr.bin/gdb/gdb.new/Makefile index 56ec1a65451..e0b6868387e 100644 --- a/gnu/usr.bin/gdb/gdb.new/Makefile +++ b/gnu/usr.bin/gdb/gdb.new/Makefile @@ -1,14 +1,17 @@ -# $NetBSD: Makefile,v 1.2 2001/08/16 16:59:24 mrg Exp $ +# $NetBSD: Makefile,v 1.3 2001/12/15 03:37:37 thorpej Exp $ # XXX - This gdb.new directory should be renamed to "gdb" after all platforms # have been migrated to the new toolchain. +.if !defined(BOOTSTRAP_NEW_TOOLCHAIN) + .include "${.CURDIR}/../arch/${MACHINE_ARCH}/defs.mk" TOP= ${.CURDIR}/../../.. DIST= ${TOP}/dist/toolchain PROG= gdb +COPTS+=-g SRCS= ${G_LIBGDB_OBS:.o=.c} ${G_OBJECTS:Nxmalloc.o:.o=.c} main.c CPPFLAGS= -I${.CURDIR}/../arch/${MACHINE_ARCH} \ @@ -23,6 +26,8 @@ TEXINFO= gdb.texinfo gdbint.texinfo stabs.texinfo INFOFLAGS= -I${DIST}/gdb/doc -I${DIST}/gdb/mi \ -I${DIST}/readline/doc -I${.CURDIR}/.. +.endif + .include "../../Makefile.inc" .include <bsd.prog.mk> .include <bsd.info.mk> |
