Add some NetBSD branding to binutils.
This commit is contained in:
parent
f01642e2c0
commit
f92d679b89
@ -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 @@ MODULE= binutils
|
||||
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 @@ native-binutils: .native/.configure_done
|
||||
${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; \
|
||||
|
Loading…
Reference in New Issue
Block a user