diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-11-20 00:22:55 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-11-20 00:22:55 +0000 |
commit | 1da1353262b169dadc7988b9b9d6fd4284660bf5 (patch) | |
tree | 8539fc9a9e2712349261a35a42f04a2883b12020 /share | |
parent | 86dd2990059d176824f675a5ae717a33dabcf293 (diff) | |
download | src-1da1353262b169dadc7988b9b9d6fd4284660bf5.tar.gz src-1da1353262b169dadc7988b9b9d6fd4284660bf5.zip |
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
Notes
Notes:
svn path=/head/; revision=291087
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.sys.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index cad2b2f79645..6eae174a7a39 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -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 |