Allow specification of build shell for the buildenv target.
Submitted by: ian lepore
This commit is contained in:
parent
6ad1ff09cc
commit
5db254ad82
@ -19,6 +19,7 @@
|
|||||||
# list
|
# list
|
||||||
# TARGET="machine" to crossbuild world for a different machine type
|
# TARGET="machine" to crossbuild world for a different machine type
|
||||||
# TARGET_ARCH= may be required when a TARGET supports multiple endians
|
# TARGET_ARCH= may be required when a TARGET supports multiple endians
|
||||||
|
# BUILDENV_SHELL= shell to launch for the buildenv target (def:/bin/sh)
|
||||||
|
|
||||||
#
|
#
|
||||||
# The intended user-driven targets are:
|
# The intended user-driven targets are:
|
||||||
@ -108,6 +109,8 @@ CLEANDIR= cleandir
|
|||||||
|
|
||||||
LOCAL_TOOL_DIRS?=
|
LOCAL_TOOL_DIRS?=
|
||||||
|
|
||||||
|
BUILDENV_SHELL?=/bin/sh
|
||||||
|
|
||||||
CVS?= cvs
|
CVS?= cvs
|
||||||
CVSFLAGS?= -A -P -d -I!
|
CVSFLAGS?= -A -P -d -I!
|
||||||
SVN?= svn
|
SVN?= svn
|
||||||
@ -558,7 +561,7 @@ buildenvvars:
|
|||||||
|
|
||||||
buildenv:
|
buildenv:
|
||||||
@echo Entering world for ${TARGET_ARCH}:${TARGET}
|
@echo Entering world for ${TARGET_ARCH}:${TARGET}
|
||||||
@cd ${.CURDIR} && env ${WMAKEENV} sh || true
|
@cd ${.CURDIR} && env ${WMAKEENV} ${BUILDENV_SHELL} || true
|
||||||
|
|
||||||
TOOLCHAIN_TGTS= ${WMAKE_TGTS:N_depend:Neverything:Nbuild32}
|
TOOLCHAIN_TGTS= ${WMAKE_TGTS:N_depend:Neverything:Nbuild32}
|
||||||
toolchain: ${TOOLCHAIN_TGTS}
|
toolchain: ${TOOLCHAIN_TGTS}
|
||||||
|
Loading…
Reference in New Issue
Block a user