Source-Changes-HG archive

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

[src/trunk]: src/tools/mdsetimage Build a properly target-prefixed cross-tool...



details:   https://anonhg.NetBSD.org/src/rev/7ba2d38dbf5e
branches:  trunk
changeset: 516552:7ba2d38dbf5e
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Oct 24 23:57:45 2001 +0000

description:
Build a properly target-prefixed cross-tool version of mdsetimage,
using libbfd.

diffstat:

 tools/mdsetimage/Makefile |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 21530d7fab11 -r 7ba2d38dbf5e tools/mdsetimage/Makefile
--- a/tools/mdsetimage/Makefile Wed Oct 24 23:56:38 2001 +0000
+++ b/tools/mdsetimage/Makefile Wed Oct 24 23:57:45 2001 +0000
@@ -1,7 +1,15 @@
-#      $NetBSD: Makefile,v 1.1 2001/10/21 23:10:47 jmc Exp $
+#      $NetBSD: Makefile,v 1.2 2001/10/24 23:57:45 thorpej Exp $
+
+MDSETIMAGE_TARGET_PREFIX=${MACHINE_GNU_PLATFORM}-
 
-HOST_SRCDIR=   usr.sbin/mdsetimage
+HOSTPROGNAME=  ${MDSETIMAGE_TARGET_PREFIX}mdsetimage
+HOST_SRCDIR=   gnu/usr.sbin/mdsetimage
+
+BFDDIR=         ${TOOLCHAINOBJDIR}/toolchain/bfd
+IBERTYDIR= ${TOOLCHAINOBJDIR}/toolchain/libiberty
 
 .include "${.CURDIR}/../Makefile.host"
 
+TOOLCHAINOBJDIR!= cd ${_CURDIR}/../toolchain && ${PRINTOBJDIR}
+
 ${TIMESTAMP}: ${SRCS}



Home | Main Index | Thread Index | Old Index