aboutsummaryrefslogtreecommitdiff
path: root/release/arm
diff options
context:
space:
mode:
Diffstat (limited to 'release/arm')
-rw-r--r--release/arm/BEAGLEBONE.conf1
-rw-r--r--release/arm/RPI-B.conf1
-rwxr-xr-xrelease/arm/release.sh3
3 files changed, 3 insertions, 2 deletions
diff --git a/release/arm/BEAGLEBONE.conf b/release/arm/BEAGLEBONE.conf
index 7778bc851d17..e164f582b8f8 100644
--- a/release/arm/BEAGLEBONE.conf
+++ b/release/arm/BEAGLEBONE.conf
@@ -17,7 +17,6 @@ SVNROOT="svn://svn.FreeBSD.org"
SRCBRANCH="base/head@rHEAD"
DOCBRANCH="doc/head@rHEAD"
PORTBRANCH="ports/head@rHEAD"
-EMBEDDED_WORLD_FLAGS="WITH_GCC=1"
NODOC=yes
# Build target configuration
diff --git a/release/arm/RPI-B.conf b/release/arm/RPI-B.conf
index 4952e289f90b..c3e5248db00c 100644
--- a/release/arm/RPI-B.conf
+++ b/release/arm/RPI-B.conf
@@ -17,7 +17,6 @@ SVNROOT="svn://svn.FreeBSD.org"
SRCBRANCH="base/head@rHEAD"
DOCBRANCH="doc/head@rHEAD"
PORTBRANCH="ports/head@rHEAD"
-EMBEDDED_WORLD_FLAGS="WITH_GCC=1"
NODOC=yes
# Build target configuration
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