summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorskrll <skrll@NetBSD.org>2009-09-08 07:08:00 +0000
committerskrll <skrll@NetBSD.org>2009-09-08 07:08:00 +0000
commit8a770313a30c7048cbda990883a7d35ca45fbe8d (patch)
tree365e569529a8fc921c7c5f635c48873f7d260a41 /gnu/usr.bin
parent68aba25e22914823783ce6b8b8fe6a470a71aa2a (diff)
Rename MKBFD to MKBINUTILS and support HAVE_BINUTILS for set lists. This
makes {MK,HAVE_}BINUTILS consistent with {MK,HAVE_}{GCC,GDB}. Allow MKBFD to defines MKBINUTILS as a backwards compatibility hook. Update the sets lists and add conditionals for lib{bfd,opcodes}.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/binutils/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/binutils/Makefile b/gnu/usr.bin/binutils/Makefile
index 3202ac9570b..f336e857b16 100644
--- a/gnu/usr.bin/binutils/Makefile
+++ b/gnu/usr.bin/binutils/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2003/12/04 09:29:33 mrg Exp $
+# $NetBSD: Makefile,v 1.23 2009/09/08 07:08:02 skrll Exp $
.include <bsd.own.mk>
-.if ${MKBFD} != "no" && exists(${.CURDIR}/common/arch/${MACHINE_ARCH}/defs.mk)
+.if ${MKBINUTILS} != "no" && exists(${.CURDIR}/common/arch/${MACHINE_ARCH}/defs.mk)
.include "${.CURDIR}/common/arch/${MACHINE_ARCH}/defs.mk"
#SUBDIR= libopcodes libbfd libiberty .WAIT
@@ -10,6 +10,6 @@
SSUBDIR+= common gas gprof ld ${G_PROGRAMS:C/-new$//:C/sysdump//:C/srconv//:cxxfilt=c++filt}
SUBDIR+= ${SSUBDIR:O} # alphabetize
-.endif # MKBFD != no
+.endif # MKBINUTILS != no
.include <bsd.subdir.mk>