From 5d5a53b49f164f277fd1140ca90900292d9e787a Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Fri, 26 Feb 2016 22:13:45 +0000 Subject: [PATCH] Follow-up r295991: Only allow 'make destroy*' to include bsd.obj.mk. Sponsored by: EMC / Isilon Storage Division --- targets/Makefile.xtras | 2 ++ 1 file changed, 2 insertions(+) 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 +.endif .for t in ${_TARGETS:Nlove} .if !target($t)