aboutsummaryrefslogtreecommitdiff
path: root/release/release.sh
diff options
context:
space:
mode:
Diffstat (limited to 'release/release.sh')
-rwxr-xr-xrelease/release.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/release/release.sh b/release/release.sh
index b51ebece7fd6..367eae4db9bf 100755
--- a/release/release.sh
+++ b/release/release.sh
@@ -327,6 +327,17 @@ chroot_arm_armv6_build_release() {
if [ -e "${RELENGDIR}/tools/${TARGET}.subr" ]; then
. "${RELENGDIR}/tools/${TARGET}.subr"
fi
+ . "${RELENGDIR}/arm/${KERNEL}.conf"
+ WORLDDIR="$(eval chroot ${CHROOTDIR} make -C /usr/src/release -V WORLDDIR)"
+ OBJDIR="$(eval chroot ${CHROOTDIR} make -C /usr/src/release -V .OBJDIR)"
+ DESTDIR="${OBJDIR}/${KERNEL}"
+ IMGBASE="${OBJDIR}/${KERNEL}.img"
+ mkdir -p ${DESTDIR}
+ truncate -s ${IMAGE_SIZE} ${IMGBASE}
+ mddev=$(mdconfig -f ${IMGBASE} ${MD_ARGS})
+ arm_create_disk
+ arm_install_base
+ arm_install_uboot
return 0
} # chroot_arm_armv6_build_release()