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
This commit is contained in:
Glen Barber 2014-07-03 19:37:25 +00:00
parent 99d8c6efbd
commit 13c36b4884
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268232

View File

@ -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