aboutsummaryrefslogtreecommitdiff
path: root/targets
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2016-02-26 22:13:45 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2016-02-26 22:13:45 +0000
commit5d5a53b49f164f277fd1140ca90900292d9e787a (patch)
tree0d68b2557a604e6d34d1a389547d972f31dc8f68 /targets
parent180a8487ee8b102585a3e1890122a5f558fec11b (diff)
downloadsrc-5d5a53b49f164f277fd1140ca90900292d9e787a.tar.gz
src-5d5a53b49f164f277fd1140ca90900292d9e787a.zip
Follow-up r295991: Only allow 'make destroy*' to include bsd.obj.mk.
Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=296120
Diffstat (limited to 'targets')
-rw-r--r--targets/Makefile.xtras2
1 files changed, 2 insertions, 0 deletions
diff --git a/targets/Makefile.xtras b/targets/Makefile.xtras
index 7acf130dee1b..807cb9a71180 100644
--- a/targets/Makefile.xtras
+++ b/targets/Makefile.xtras
@@ -54,7 +54,9 @@ show-help:
not-valid-target:
@echo "ERROR: '${_TARGETS}' is not a valid target for ${MACHINE}."
+.if make(destroy*)
.include <bsd.obj.mk>
+.endif
.for t in ${_TARGETS:Nlove}
.if !target($t)