aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2020-08-24 09:20:13 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2020-08-24 09:20:13 +0000
commit0f31fdf253305eb522bd003431f7a996b997efa3 (patch)
treeb3c0c4e9bf1ab232062e1d0a177c131878ea15f3 /Makefile.inc1
parente35406c8f77bffb5c572837a494113a090209291 (diff)
downloadsrc-0f31fdf253305eb522bd003431f7a996b997efa3.tar.gz
src-0f31fdf253305eb522bd003431f7a996b997efa3.zip
Pass the installworld install(1) flags to make buildenv
This ensure that running make install inside buildenv correctly includes the METALOG flags when building with -DNO_ROOT. Reviewed By: brooks Differential Revision: https://reviews.freebsd.org/D26038
Notes
Notes: svn path=/head/; revision=364645
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc14
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 77056c305ae5..d50bfd772d27 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1178,7 +1178,9 @@ buildenv: .PHONY
.if ${BUILDENV_SHELL:M*zsh*}
@echo For ZSH you must run: export CPUTYPE=${TARGET_CPUTYPE}
.endif
- @cd ${BUILDENV_DIR} && env ${WMAKEENV} BUILDENV=1 ${BUILDENV_SHELL}
+ @cd ${BUILDENV_DIR} && env ${WMAKEENV} \
+ INSTALL="${INSTALL_CMD} ${INSTALLFLAGS}" \
+ MTREE_CMD="${MTREE_CMD} ${MTREEFLAGS}" BUILDENV=1 ${BUILDENV_SHELL}
TOOLCHAIN_TGTS= ${WMAKE_TGTS:Neverything:Nbuild${libcompat}}
toolchain: ${TOOLCHAIN_TGTS} .PHONY