aboutsummaryrefslogtreecommitdiff
path: root/release/release.sh
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2015-05-06 16:21:12 +0000
committerGlen Barber <gjb@FreeBSD.org>2015-05-06 16:21:12 +0000
commit57dbde2ca8d4c493746569ec819faa3141d3d576 (patch)
tree47dbac4f6196545b7847be858d3978ea3769bed2 /release/release.sh
parent6848c01fadd8193c46eb9a105630613d0fbbc696 (diff)
downloadsrc-57dbde2ca8d4c493746569ec819faa3141d3d576.tar.gz
src-57dbde2ca8d4c493746569ec819faa3141d3d576.zip
buildenv_setup(), if overridden in the configuration file,
only needs to be invoked once. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/projects/release-arm-redux/; revision=282557
Diffstat (limited to 'release/release.sh')
-rwxr-xr-xrelease/release.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/release.sh b/release/release.sh
index 1ba848b753a3..58f3d72460cf 100755
--- a/release/release.sh
+++ b/release/release.sh
@@ -278,12 +278,13 @@ extra_chroot_setup() {
done
fi
+ buildenv_setup
+
return 0
} # extra_chroot_setup()
# chroot_build_target(): Build the userland and kernel for the build target.
chroot_build_target() {
- buildenv_setup
load_target_env
if [ ! -z "${EMBEDDEDBUILD}" ]; then
RELEASE_WMAKEFLAGS="${RELEASE_WMAKEFLAGS} \
@@ -301,7 +302,6 @@ chroot_build_target() {
# chroot_build_release(): Invoke the 'make release' target.
chroot_build_release() {
- buildenv_setup
load_target_env
if [ -z "${EMBEDDEDBUILD}" ]; then