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:
parent
86dd299005
commit
1da1353262
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user