use EXTERNAL_BINUTILS_SUBDIR

This commit is contained in:
christos 2016-01-26 17:47:35 +00:00
parent 4bab817c32
commit 22253bc332
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.238 2016/01/13 21:57:26 christos Exp $
# $NetBSD: Makefile,v 1.239 2016/01/26 17:47:35 christos Exp $
# from: @(#)Makefile 5.25.1.1 (Berkeley) 5/7/91
.include <bsd.own.mk>
@ -155,7 +155,7 @@ SUBDIR+= ../external/gpl2/lvm2/lib # depends on libprop
.endif
.if (${MKBINUTILS} != "no")
SUBDIR+= ../external/gpl3/binutils/lib # libbfd depends on libz
SUBDIR+= ../external/gpl3/${EXTERNAL_BINUTILS_SUBDIR}/lib # libbfd depends on libz
.endif
.if (${MKLIBCXX} != "no")

View File

@ -1,10 +1,10 @@
# $NetBSD: Makefile,v 1.24 2014/02/15 13:34:28 tsutsui Exp $
# $NetBSD: Makefile,v 1.25 2016/01/26 17:47:57 christos Exp $
.include <bsd.own.mk>
MODULE= binutils
GNUHOSTDIST= ${.CURDIR}/../../external/gpl3/binutils/dist
GNUHOSTDIST= ${.CURDIR}/../../external/gpl3/${EXTERNAL_BINUTILS_SUBDIR}/dist
BRANDING?= \
--with-pkgversion="NetBSD Binutils nb1" \