summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.obj.mk
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2014-05-10 00:24:32 +0000
committersjg <sjg@FreeBSD.org>2014-05-10 00:24:32 +0000
commit8202a43f302ab25141223093556fcd5d1258140d (patch)
tree48465a84dea8a28bc823f6c5682181bb6c8e04e4 /share/mk/bsd.obj.mk
parent8195b9a30b10f65fe6357157ec1dae7e01f1c6e2 (diff)
downloadFreeBSD-src-8202a43f302ab25141223093556fcd5d1258140d.zip
FreeBSD-src-8202a43f302ab25141223093556fcd5d1258140d.tar.gz
Don't make wildcards .PHONY
Add pseudo machines host and common to machine list for destroy
Diffstat (limited to 'share/mk/bsd.obj.mk')
-rw-r--r--share/mk/bsd.obj.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/share/mk/bsd.obj.mk b/share/mk/bsd.obj.mk
index 27a60ae..3937a42 100644
--- a/share/mk/bsd.obj.mk
+++ b/share/mk/bsd.obj.mk
@@ -129,7 +129,7 @@ cleanobj: clean cleandepend
# Tell bmake not to look for generated files via .PATH
.if !empty(CLEANFILES)
-.NOPATH: ${CLEANFILES}
+.NOPATH: ${CLEANFILES:N*\**}
.endif
.if !target(clean)
@@ -180,7 +180,8 @@ destroy-stage: .NOMETA
.endif
# allow parallel destruction
-.for m in ${ALL_MACHINE_LIST}
+_destroy_machine_list = common host ${ALL_MACHINE_LIST}
+.for m in ${_destroy_machine_list:O:u}
destroy-all: destroy.$m
.if !target(destroy.$m)
destroy.$m: .NOMETA
OpenPOWER on IntegriCloud