Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tools Use HOST_SRCDIR=external/gpl3/binutils/usr.sbin/foo
details: https://anonhg.NetBSD.org/src/rev/849376377eb8
branches: trunk
changeset: 748570:849376377eb8
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Tue Oct 27 14:20:21 2009 +0000
description:
Use HOST_SRCDIR=external/gpl3/binutils/usr.sbin/foo
in $(HAVE_BINUTILS)=="219" case.
Fixes build failures on Cygwin. (new libbfd depends on libz)
BTW, should we revive old ones under src/usr.sbin for
native dbsym(8)/mdsetimage(8) binaries which don't need libbfd?
diffstat:
tools/dbsym/Makefile | 7 ++++++-
tools/mdsetimage/Makefile | 7 ++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diffs (42 lines):
diff -r ce027abde4dd -r 849376377eb8 tools/dbsym/Makefile
--- a/tools/dbsym/Makefile Tue Oct 27 08:58:04 2009 +0000
+++ b/tools/dbsym/Makefile Tue Oct 27 14:20:21 2009 +0000
@@ -1,11 +1,16 @@
-# $NetBSD: Makefile,v 1.5 2003/12/04 09:59:07 mrg Exp $
+# $NetBSD: Makefile,v 1.6 2009/10/27 14:20:21 tsutsui Exp $
NOMAN= # defined
.include <bsd.own.mk>
HOSTPROGNAME= ${MACHINE_GNU_PLATFORM}-dbsym
+
+.if $(HAVE_BINUTILS) == "219"
+HOST_SRCDIR= external/gpl3/binutils/usr.sbin/dbsym
+.else
HOST_SRCDIR= gnu/usr.sbin/dbsym
+.endif
TOOLCHAINOBJ!= cd ${.CURDIR}/../binutils && ${PRINTOBJDIR}
BFDDIR= ${TOOLCHAINOBJ}/build/bfd
diff -r ce027abde4dd -r 849376377eb8 tools/mdsetimage/Makefile
--- a/tools/mdsetimage/Makefile Tue Oct 27 08:58:04 2009 +0000
+++ b/tools/mdsetimage/Makefile Tue Oct 27 14:20:21 2009 +0000
@@ -1,11 +1,16 @@
-# $NetBSD: Makefile,v 1.7 2003/12/04 09:59:07 mrg Exp $
+# $NetBSD: Makefile,v 1.8 2009/10/27 14:20:21 tsutsui Exp $
NOMAN= # defined
.include <bsd.own.mk>
HOSTPROGNAME= ${MACHINE_GNU_PLATFORM}-mdsetimage
+
+.if $(HAVE_BINUTILS) == "219"
+HOST_SRCDIR= external/gpl3/binutils/usr.sbin/mdsetimage
+.else
HOST_SRCDIR= gnu/usr.sbin/mdsetimage
+.endif
TOOLCHAINOBJ!= cd ${.CURDIR}/../binutils && ${PRINTOBJDIR}
BFDDIR= ${TOOLCHAINOBJ}/build/bfd
Home |
Main Index |
Thread Index |
Old Index