Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk external binutils and gdb variables.
details: https://anonhg.NetBSD.org/src/rev/2836b7c52279
branches: trunk
changeset: 343254:2836b7c52279
user: christos <christos%NetBSD.org@localhost>
date: Tue Jan 26 17:47:06 2016 +0000
description:
external binutils and gdb variables.
diffstat:
share/mk/bsd.own.mk | 20 +++++++++++++++++---
1 files changed, 17 insertions(+), 3 deletions(-)
diffs (41 lines):
diff -r 309cfd8c14a2 -r 2836b7c52279 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Tue Jan 26 17:37:51 2016 +0000
+++ b/share/mk/bsd.own.mk Tue Jan 26 17:47:06 2016 +0000
@@ -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?= yes
.endif
-HAVE_GDB?= 79
-
.if (${MACHINE_ARCH} == "alpha") || \
(${MACHINE_ARCH} == "hppa") || \
(${MACHINE_ARCH} == "ia64") || \
@@ -127,6 +125,22 @@
.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
Home |
Main Index |
Thread Index |
Old Index