META MODE: Don't stage INTERNALPROGs.

This is only for sys/boot.  INTERNALPROG is not a build tool, it is just a way
to generate OBJS from a list of SRCS and use those objects elsewhere.

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Bryan Drewery 2015-11-20 00:22:55 +00:00
parent 86dd299005
commit 1da1353262
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=291087

View file

@ -194,13 +194,13 @@ staging stage_libs stage_files stage_as stage_links stage_symlinks:
DESTDIR= ${STAGE_OBJTOP}
.if commands(beforeinstall)
.if !empty(_LIBS) || ${MK_STAGING_PROG} != "no"
.if !empty(_LIBS) || (${MK_STAGING_PROG} != "no" && !defined(INTERNALPROG))
staging: beforeinstall
.endif
.endif
# normally only libs and includes are staged
.if ${MK_STAGING_PROG} != "no"
.if ${MK_STAGING_PROG} != "no" && !defined(INTERNALPROG)
STAGE_DIR.prog= ${STAGE_OBJTOP}${BINDIR}
.if !empty(PROG) || !empty(PROGS)
@ -265,7 +265,7 @@ STAGE_TARGETS+= $t
STAGE_TARGETS+= stage_as
.endif
.if !empty(_LIBS) || ${MK_STAGING_PROG} != "no"
.if !empty(_LIBS) || (${MK_STAGING_PROG} != "no" && !defined(INTERNALPROG))
.if !empty(LINKS)
STAGE_TARGETS+= stage_links