Source-Changes-HG archive

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

[src/trunk]: src/tools/binutils Add some NetBSD branding to binutils.



details:   https://anonhg.NetBSD.org/src/rev/b6c0e3a7c29f
branches:  trunk
changeset: 748028:b6c0e3a7c29f
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Oct 10 10:21:22 2009 +0000

description:
Add some NetBSD branding to binutils.

diffstat:

 tools/binutils/Makefile |  13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r d9b8246eb44d -r b6c0e3a7c29f tools/binutils/Makefile
--- a/tools/binutils/Makefile   Fri Oct 09 21:11:31 2009 +0000
+++ b/tools/binutils/Makefile   Sat Oct 10 10:21:22 2009 +0000
@@ -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; \



Home | Main Index | Thread Index | Old Index