Module Name: src Committed By: christos Date: Tue Jan 26 17:47:06 UTC 2016
Modified Files: src/share/mk: bsd.own.mk Log Message: external binutils and gdb variables. To generate a diff of this commit: cvs rdiff -u -r1.885 -r1.886 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.885 src/share/mk/bsd.own.mk:1.886 --- src/share/mk/bsd.own.mk:1.885 Sun Jan 24 15:15:11 2016 +++ src/share/mk/bsd.own.mk Tue Jan 26 12:47:06 2016 @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.885 2016/01/24 20:15:11 christos Exp $ +# $NetBSD: bsd.own.mk,v 1.886 2016/01/26 17:47:06 christos Exp $ # This needs to be before bsd.init.mk .if defined(BSD_MK_COMPAT_FILE) @@ -113,8 +113,6 @@ HAVE_LIBGCC_EH?= no HAVE_LIBGCC_EH?= yes .endif -HAVE_GDB?= 79 - .if (${MACHINE_ARCH} == "alpha") || \ (${MACHINE_ARCH} == "hppa") || \ (${MACHINE_ARCH} == "ia64") || \ @@ -127,6 +125,22 @@ USE_SSP?= yes .endif .endif +HAVE_GDB?= 79 + +.if ${HAVE_GDB} == 79 +EXTERNAL_GDB_SUBDIR= gdb +.else +EXTERNAL_GDB_SUBDIR= /does/not/exist +.endif + +HAVE_BINUTILS?= 223 + +.if ${HAVE_BINUTILS} == 223 +EXTERNAL_BINUTILS_SUBDIR= binutils.old +.else +EXTERNAL_BINUTILS_SUBDIR= /does/not/exist +.endif + .if empty(.MAKEFLAGS:tW:M*-V .OBJDIR*) .if defined(MAKEOBJDIRPREFIX) || defined(MAKEOBJDIR) PRINTOBJDIR= ${MAKE} -r -V .OBJDIR -f /dev/null xxx