handle gdb-7.9.1

This commit is contained in:
christos 2015-08-16 09:14:53 +00:00
parent c0ef042b29
commit d0e1037b7b
2 changed files with 11 additions and 5 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.12 2015/08/15 09:34:17 christos Exp $
# $NetBSD: Makefile,v 1.13 2015/08/16 09:17:18 christos Exp $
.include <bsd.own.mk>
@ -11,9 +11,11 @@ SUBDIR+= ${EXTERNAL_GCC_SUBDIR}
.endif
.if ${MKGDB} != "no"
.if ${HAVE_GDB} == "7"
SUBDIR+= gdb.old
.endif
. if ${HAVE_GDB} == "79"
SUBDIR+= gdb
. elif ${HAVE_GDB} == "7"
SUBDIR+= gdb
. endif
.endif
.include <bsd.subdir.mk>

View File

@ -1,9 +1,13 @@
# $NetBSD: Makefile,v 1.23 2015/08/15 21:12:28 mrg Exp $
# $NetBSD: Makefile,v 1.24 2015/08/16 09:14:53 christos Exp $
.include <bsd.own.mk>
MODULE= gdb
.if ${HAVE_GDB} == 79
GNUHOSTDIST= ${.CURDIR}/../../external/gpl3/gdb/dist
.else
GNUHOSTDIST= ${.CURDIR}/../../external/gpl3/gdb.old/dist
.endif
FIND_ARGS= \! \( -type d -name sim -prune \)