summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2013-02-26 05:44:48 +0000
committersjg <sjg@FreeBSD.org>2013-02-26 05:44:48 +0000
commit8617d36142e04c3af73ea6059ec06895359058fe (patch)
tree831f509c7be10ac4bbf03006280eb9231f0441bf
parentb18825ad60f52297b4e4a3c4224aec5f678ec605 (diff)
downloadFreeBSD-src-8617d36142e04c3af73ea6059ec06895359058fe.zip
FreeBSD-src-8617d36142e04c3af73ea6059ec06895359058fe.tar.gz
Need .ORDER for various stage_* targets
-rw-r--r--share/mk/bsd.prog.mk14
1 files changed, 10 insertions, 4 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk
index 7587569..67e955d 100644
--- a/share/mk/bsd.prog.mk
+++ b/share/mk/bsd.prog.mk
@@ -259,21 +259,27 @@ all: stage_files
.endif
.endif
+.if !empty(STAGE_AS_SETS)
+all: stage_as
+.endif
.if !empty(LINKS)
all: stage_links
+.ORDER: stage_files stage_links
+.if !empty(STAGE_AS_SETS)
+.ORDER: stage_as stage_links
+.endif
STAGE_SETS+= prog
STAGE_LINKS.prog= ${LINKS}
.endif
.if !empty(SYMLINKS)
all: stage_symlinks
+.if !empty(STAGE_AS_SETS)
+.ORDER: stage_as stage_symlinks
+.endif
STAGE_SETS+= prog
STAGE_SYMLINKS.prog= ${SYMLINKS}
.endif
-.if !empty(STAGE_AS_SETS)
-all: stage_as
-.endif
-
.endif
.include <meta.stage.mk>
.endif
OpenPOWER on IntegriCloud