aboutsummaryrefslogtreecommitdiff
path: root/release/arm/release.sh
diff options
context:
space:
mode:
Diffstat (limited to 'release/arm/release.sh')
-rwxr-xr-xrelease/arm/release.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/release/arm/release.sh b/release/arm/release.sh
index 037d288c2175..6703f38f8687 100755
--- a/release/arm/release.sh
+++ b/release/arm/release.sh
@@ -48,6 +48,9 @@ install_uboot() {
}
main() {
+ # Build gcc for use in the chroot for arm builds.
+ eval chroot ${CHROOTDIR} make -C /usr/src/gnu/usr.bin/cc \
+ WITH_GCC=1 obj depend all install
# Build the 'xdev' target for crochet.
eval chroot ${CHROOTDIR} make -C /usr/src \
XDEV=${XDEV} XDEV_ARCH=${XDEV_ARCH} WITH_GCC=1 xdev