add a HAVE_GDB53 switch. defaults to no one yet.

This commit is contained in:
mrg 2003-09-18 23:17:55 +00:00
parent 4fb604b287
commit f9975d193b
2 changed files with 18 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.115 2003/08/27 16:03:17 mrg Exp $
# $NetBSD: Makefile,v 1.116 2003/09/18 23:17:55 mrg Exp $
# for OBJECT_FMT
.include <bsd.own.mk>
@ -10,7 +10,11 @@ SUBDIR+= gawk
SUBDIR+= gettext
.if ${HAVE_GDB53} == "no"
SUBDIR+= sim .WAIT gdb
.else
SUBDIR+= gdb53
.endif
.if ${HAVE_GCC3} == "no"
SUBDIR+= gcc

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.own.mk,v 1.358 2003/09/13 19:08:28 lukem Exp $
# $NetBSD: bsd.own.mk,v 1.359 2003/09/18 23:17:57 mrg Exp $
.if !defined(_BSD_OWN_MK_)
_BSD_OWN_MK_=1
@ -62,6 +62,18 @@ USE_TOOLS_TOOLCHAIN=no
.endif
USE_TOOLS_TOOLCHAIN?=yes
#
# Transitional for toolchain upgrade to GDB5.3
#
HAVE_GDB53?= no
.if ${MACHINE_ARCH} == "i386" || \
${MACHINE_ARCH} == "sparc" || \
${MACHINE_ARCH} == "sparc64"
HAVE_GDB53?= yes
.else
HAVE_GDB53?= no
.endif
#
# XXX TEMPORARY: If ns32k and not using an external toolchain, then we have
# to use -idirafter rather than -isystem, because the compiler is too old