Module Name: src
Committed By: pooka
Date: Thu Sep 20 15:50:20 UTC 2012
Modified Files:
src/tools: Makefile
Log Message:
fix EXTERNAL_TOOLCHAIN build
To generate a diff of this commit:
cvs rdiff -u -r1.156 -r1.157 src/tools/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/Makefile
diff -u src/tools/Makefile:1.156 src/tools/Makefile:1.157
--- src/tools/Makefile:1.156 Fri Aug 10 16:13:36 2012
+++ src/tools/Makefile Thu Sep 20 15:50:20 2012
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.156 2012/08/10 16:13:36 joerg Exp $
+# $NetBSD: Makefile,v 1.157 2012/09/20 15:50:20 pooka Exp $
.include <bsd.own.mk>
@@ -27,8 +27,6 @@ TOOLCHAIN_BITS+= gcc
TOOLCHAIN_BITS+= gdb
. endif
TOOLCHAIN_BITS+= .WAIT
-# XXX Eventually, we want to be able to build dbsym and mdsetimage
-# XXX if EXTERNAL_TOOLCHAIN is set.
.endif
.endif
@@ -38,7 +36,11 @@ TOOLCHAIN_BITS+= pcc
.endif
.endif
+.if ${TOOLCHAIN_MISSING} == "no"
+# XXX Eventually, we want to be able to build dbsym and mdsetimage
+# XXX if EXTERNAL_TOOLCHAIN is set.
TOOLCHAIN_BITS+= dbsym mdsetimage
+.endif
DTRACE_BITS=
.if ${MKDTRACE} != "no"