aboutsummaryrefslogtreecommitdiff
path: root/release/release.sh
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2015-05-06 15:58:21 +0000
committerGlen Barber <gjb@FreeBSD.org>2015-05-06 15:58:21 +0000
commitcf582ac56f75c9db1242ef354d30202759f7b875 (patch)
tree99b7bcd33082d7a0fb2706244dd8e6b05c9f772c /release/release.sh
parenta03128832c6c71a3544f1c5ef0b15a17122c8f51 (diff)
downloadsrc-cf582ac56f75c9db1242ef354d30202759f7b875.tar.gz
src-cf582ac56f75c9db1242ef354d30202759f7b875.zip
Update the arm/*.conf configuration files to only set
EMBEDDEDBUILD, EMBEDDED_TARGET, EMBEDDED_TARGET_ARCH, EMBEDDEDPORTS, and KERNEL. In release.sh, set TARGET and TARGET_ARCH to the EMBEDDED_* variants from the configuration file. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/projects/release-arm-redux/; revision=282554
Diffstat (limited to 'release/release.sh')
-rwxr-xr-xrelease/release.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/release/release.sh b/release/release.sh
index 8ff974d68af3..a01277f24d26 100755
--- a/release/release.sh
+++ b/release/release.sh
@@ -285,6 +285,14 @@ extra_chroot_setup() {
chroot_build_target() {
buildenv_setup
load_target_env
+ if [ ! -z "${EMBEDDEDBUILD}" ]; then
+ RELEASE_WMAKEFLAGS="${RELEASE_WMAKEFLAGS} \
+ TARGET=${EMBEDDED_TARGET} \
+ TARGET_ARCH=${EMBEDDED_TARGET_ARCH}"
+ RELEASE_KMAKEFLAGS="${RELEASE_KMAKEFLAGS} \
+ TARGET=${EMBEDDED_TARGET} \
+ TARGET_ARCH=${EMBEDDED_TARGET_ARCH}"
+ fi
eval chroot ${CHROOTDIR} make -C /usr/src ${RELEASE_WMAKEFLAGS} buildworld
eval chroot ${CHROOTDIR} make -C /usr/src ${RELEASE_KMAKEFLAGS} buildkernel