Module Name: src
Committed By: skrll
Date: Sat Oct 10 10:21:22 UTC 2009
Modified Files:
src/tools/binutils: Makefile
Log Message:
Add some NetBSD branding to binutils.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/tools/binutils/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tools/binutils/Makefile
diff -u src/tools/binutils/Makefile:1.13 src/tools/binutils/Makefile:1.14
--- src/tools/binutils/Makefile:1.13 Tue Aug 18 15:08:51 2009
+++ src/tools/binutils/Makefile Sat Oct 10 10:21:22 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2009/08/18 15:08:51 skrll Exp $
+# $NetBSD: Makefile,v 1.14 2009/10/10 10:21:22 skrll Exp $
.include <bsd.own.mk>
@@ -8,8 +8,13 @@
GNUHOSTDIST= ${.CURDIR}/../../external/gpl3/binutils/dist
.endif
+BRANDING?= \
+ --with-pkgversion="NetBSD" \
+ --with-bugurl="http://www.NetBSD.org/Misc/send-pr.html"
+
CONFIGURE_ARGS= --target=${MACHINE_GNU_PLATFORM} --disable-nls \
- --program-transform-name="s,^,${MACHINE_GNU_PLATFORM}-,"
+ --program-transform-name="s,^,${MACHINE_GNU_PLATFORM}-," \
+ ${BRANDING}
MAKE_ARGS= MACHINE= MAKEINFO=${TOOL_MAKEINFO:Q}
@@ -49,7 +54,9 @@
${HOST_SH} ${GNUHOSTDIST}/configure \
--build=`${GNUHOSTDIST}/config.guess` \
--host=${MACHINE_GNU_PLATFORM} \
- --target=${MACHINE_GNU_PLATFORM})
+ --target=${MACHINE_GNU_PLATFORM} \
+ ${BRANDING} \
+ )
PATH=${TOOLDIR}/bin:$$PATH; export PATH; \
(cd .native && ${MAKE} configure-host)
PATH=${TOOLDIR}/bin:$$PATH; export PATH; \