summaryrefslogtreecommitdiffstats
path: root/targets
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-02-26 22:13:45 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-02-26 22:13:45 +0000
commit6e9fc0b08c6304002785af45b8ff7c0ac31b34c4 (patch)
tree0d68b2557a604e6d34d1a389547d972f31dc8f68 /targets
parent57ff5041e828109f538de721593bbcd891ed3cc5 (diff)
downloadFreeBSD-src-6e9fc0b08c6304002785af45b8ff7c0ac31b34c4.zip
FreeBSD-src-6e9fc0b08c6304002785af45b8ff7c0ac31b34c4.tar.gz
Follow-up r295991: Only allow 'make destroy*' to include bsd.obj.mk.
Sponsored by: EMC / Isilon Storage Division
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 7acf130..807cb9a 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)
OpenPOWER on IntegriCloud