From 13c36b4884bd8381d9484968c31c35f211853e81 Mon Sep 17 00:00:00 2001 From: Glen Barber Date: Thu, 3 Jul 2014 19:37:25 +0000 Subject: [PATCH] The u-boot tarball needed for some boards, BEAGLEBONE for example, explicitly hard-code gcc(1) as the compiler. Partially revert r264703, which did a post-chroot install of gcc(1). This was initially removed because gcc(1) fails to build usr.bin/dtc/ causing the xdev target to fail. So this time, move the gcc(1) installation after xdev is built. This change is likely applicable to stable/10 arm build failures, as well. MFC after: 3 days Sponsored by: The FreeBSD Foundation --- release/arm/release.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/release/arm/release.sh b/release/arm/release.sh index c2b2a1b30755..0869b005e8a4 100755 --- a/release/arm/release.sh +++ b/release/arm/release.sh @@ -111,6 +111,9 @@ main() { BATCH=1 FORCE_PKG_REGISTER=1 install clean distclean done + eval chroot ${CHROOTDIR} make -C /usr/src/gnu/usr.bin/cc \ + WITH_GCC=1 ${WORLD_FLAGS} -j1 obj depend all install + mkdir -p ${CHROOTDIR}/tmp/crochet/work before_build install_crochet