crossgcc/Makefile.inc: Update jenkins-build-toolchain
commita53958098e3ba2701b071a3a7158200da6a2eddc
authorMartin Roth <martinroth@google.com>
Sat, 2 Apr 2016 17:10:08 +0000 (2 11:10 -0600)
committerMartin Roth <martinroth@google.com>
Tue, 19 Apr 2016 22:24:47 +0000 (20 00:24 +0200)
tree25645534971eaeac90a747cf2555d39309089514
parent7fae59b049d4cdd784ebe1972d5d5346a087190b
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.

- Add $DEST/bin to $PATH if $DEST is set, add the default location
for toolchain builds otherwise.  Because the jenkins build image puts
the tools in the path, we ca
- 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>
Reviewed-on: https://review.coreboot.org/14231
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
util/crossgcc/Makefile.inc