aboutsummaryrefslogtreecommitdiff
path: root/release/release.sh
diff options
context:
space:
mode:
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