Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tools add gdb53 as a host tool for use as a crossgdb



details:   https://anonhg.NetBSD.org/src/rev/7ee120730d53
branches:  trunk
changeset: 554205:7ee120730d53
user:      cl <cl%NetBSD.org@localhost>
date:      Sun Oct 26 01:06:27 2003 +0000

description:
add gdb53 as a host tool for use as a crossgdb
replaces gdb50 from toolchain on archs which use gcc3

diffstat:

 tools/Makefile          |   5 ++++-
 tools/binutils/Makefile |   7 +------
 tools/gdb/Makefile      |  18 ++++++++++++++++++
 3 files changed, 23 insertions(+), 7 deletions(-)

diffs (61 lines):

diff -r 2cc2c93e28cc -r 7ee120730d53 tools/Makefile
--- a/tools/Makefile    Sun Oct 26 00:48:14 2003 +0000
+++ b/tools/Makefile    Sun Oct 26 01:06:27 2003 +0000
@@ -1,10 +1,13 @@
-#      $NetBSD: Makefile,v 1.73 2003/10/21 10:01:22 lukem Exp $
+#      $NetBSD: Makefile,v 1.74 2003/10/26 01:06:27 cl Exp $
 
 .include <bsd.own.mk>
 
 .if ${TOOLCHAIN_MISSING} != "yes"
 .  if ${USE_TOOLS_TOOLCHAIN} != "yes"
 TOOLCHAIN_BITS= binutils .WAIT gcc
+.    if ${MKCROSSGDB:Uno} != "no"
+TOOLCHAIN_BITS+= gdb
+.    endif
 .  else
 TOOLCHAIN_BITS= toolchain
 .  endif
diff -r 2cc2c93e28cc -r 7ee120730d53 tools/binutils/Makefile
--- a/tools/binutils/Makefile   Sun Oct 26 00:48:14 2003 +0000
+++ b/tools/binutils/Makefile   Sun Oct 26 01:06:27 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2003/07/25 16:26:52 mrg Exp $
+#      $NetBSD: Makefile,v 1.2 2003/10/26 01:06:27 cl Exp $
 
 .include <bsd.own.mk>
 
@@ -17,11 +17,6 @@
 ALL_TARGET=    all-binutils all-gas all-ld
 INSTALL_TARGET=        install-binutils install-gas install-ld
 
-.if ${MKCROSSGDB:Uno} != "no"
-ALL_TARGET+=   all-gdb
-INSTALL_TARGET+=install-gdb
-.endif
-
 .include "${.CURDIR}/../Makefile.gnuhost"
 
 CCADDFLAGS=    -I${DESTDIR}/usr/include -L${DESTDIR}/usr/lib -B${DESTDIR}/usr/lib/
diff -r 2cc2c93e28cc -r 7ee120730d53 tools/gdb/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/gdb/Makefile        Sun Oct 26 01:06:27 2003 +0000
@@ -0,0 +1,18 @@
+#      $NetBSD: Makefile,v 1.1 2003/10/26 01:06:27 cl Exp $
+
+.include <bsd.own.mk>
+
+MODULE=                gdb
+
+FIND_ARGS=     \! \( -type d -name sim -prune \)
+
+CONFIGURE_ARGS=        --target=${MACHINE_GNU_PLATFORM} --disable-nls \
+               --program-transform-name="s,^,${MACHINE_GNU_PLATFORM}-,"
+
+MAKE_ARGS=     MACHINE= MAKEINFO=${TOOL_MAKEINFO:Q}
+
+ALL_TARGET=    all-gdb
+INSTALL_TARGET=        install-gdb
+
+.include "${.CURDIR}/../Makefile.gnuhost"
+



Home | Main Index | Thread Index | Old Index