tweak STAGE_SETS

This commit is contained in:
Simon J. Gerraty
2013-02-16 01:14:27 +00:00
parent 0649e98d2d
commit b1eb0fa2de
+5 -3
View File
@@ -247,6 +247,7 @@ stage_files stage_as:
.if ${MK_STAGING_PROG:Uno} != "no"
STAGE_DIR.prog= ${STAGE_OBJTOP}${BINDIR}
.if !empty(PROG)
.if defined(PROGNAME)
STAGE_AS_SETS+= prog
STAGE_AS_${PROG}= ${PROGNAME}
@@ -254,23 +255,24 @@ stage_as.prog: ${PROG}
.else
STAGE_SETS+= prog
stage_files.prog: ${PROG}
all: stage_files
.endif
.endif
.if !empty(LINKS)
all: stage_links
STAGE_SETS+= prog
STAGE_LINKS.prog= ${LINKS}
.endif
.if !empty(SYMLINKS)
all: stage_symlinks
STAGE_SETS+= prog
STAGE_SYMLINKS.prog= ${SYMLINKS}
.endif
.if !empty(STAGE_AS_SETS)
all: stage_as
.endif
.if !empty(STAGE_SETS)
all: stage_files
.endif
.endif
.include <meta.stage.mk>