aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2015-12-08 17:56:40 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2015-12-08 17:56:40 +0000
commitfb9def88bd2257c7654b144782f0396a4eb1e47b (patch)
tree151a4e2614eefe1622006d3052363edce4f9cae4 /share
parent4a5e4462d865013b0862f7c954dede7aaca901c9 (diff)
downloadsrc-fb9def88bd2257c7654b144782f0396a4eb1e47b.tar.gz
src-fb9def88bd2257c7654b144782f0396a4eb1e47b.zip
META MODE: Define a STAGE_TARGET_OBJTOP and export it alone with
STAGE_OBJTOP and STAGE_HOST_OBJTOP. These will always be overridden in sub-makes when building in-tree, but are exported for the benefit of hooking in external builds, such as ports. Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=291997
Diffstat (limited to 'share')
-rw-r--r--share/mk/local.meta.sys.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/mk/local.meta.sys.mk b/share/mk/local.meta.sys.mk
index 1e0fef8bb4c1..a97f6f272b59 100644
--- a/share/mk/local.meta.sys.mk
+++ b/share/mk/local.meta.sys.mk
@@ -148,7 +148,11 @@ STAGE_MACHINE:= ${TARGET_OBJ_SPEC}
.endif
STAGE_OBJTOP:= ${STAGE_ROOT}/${STAGE_MACHINE}
STAGE_COMMON_OBJTOP:= ${STAGE_ROOT}/common
+STAGE_TARGET_OBJTOP:= ${STAGE_ROOT}/${TARGET_OBJ_SPEC}
STAGE_HOST_OBJTOP:= ${STAGE_ROOT}/${HOST_TARGET}
+# These are exported for hooking in out-of-tree builds. They will always
+# be overridden in sub-makes above when building in-tree.
+.export STAGE_OBJTOP STAGE_TARGET_OBJTOP STAGE_HOST_OBJTOP
# Use tools/install.sh which can avoid the need for xinstall for simple cases.
INSTALL?= sh ${SRCTOP}/tools/install.sh