Martin Roth (martinroth@google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14231
-gerrit
commit 56967907a1bb7d8c879606bd16c273ddee499ec2 Author: Martin Roth martinroth@google.com Date: Sat Apr 2 11:10:08 2016 -0600
crossgcc/Makefile.inc: Update jenkins-build-toolchain
Because the builders have the coreboot cross-compilers in their path, the XGCCPATH variable needs to be set after building the new toolchain before it will be used.
- Set XGCC to $DEST/bin if $DEST is set, use the default location otherwise. - Add KEEP_SOURCES option to help speed up compilation (Slightly). - log .xcompile for verification that the right toolchain was used. - Verify that test-toolchain passes.
Change-Id: I7c270dab94be7e8f801d527169767018a24986e4 Signed-off-by: Martin Roth martinroth@google.com --- util/crossgcc/Makefile.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/util/crossgcc/Makefile.inc b/util/crossgcc/Makefile.inc index 5be4c10..83a6478 100644 --- a/util/crossgcc/Makefile.inc +++ b/util/crossgcc/Makefile.inc @@ -69,7 +69,8 @@ endif # ifeq ($(COMPILER_OUT_OF_DATE),1)
# This target controls what the jenkins builder tests jenkins-build-toolchain: - $(MAKE) crosstools clang \ - BUILDGCC_OPTIONS='-y --nocolor' + $(MAKE) crosstools clang KEEP_SOURCES=1 BUILDGCC_OPTIONS='-y --nocolor' rm -f .xcompile - $(MAKE) what-jenkins-does + $(MAKE) what-jenkins-does XGCCPATH=$(if $(DEST),$(DEST)/bin,$(top)/util/crossgcc/xgcc/bin) + cat .xcompile + $(MAKE) test-toolchain