diff options
author | Martin Roth <martinroth@google.com> | 2016-03-08 09:27:45 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-03-11 17:01:11 +0100 |
commit | 2114880f66ce567bb507b26218f9e88241348ec1 (patch) | |
tree | c43255f02487dae839efa82f38bdab87ef4c111b /util/crossgcc | |
parent | 2e1f73181a770f1c3a8ea5bc1b72bac3732c5c76 (diff) |
crossgcc/Makefile.inc: Add target for jenkins toolchain test build
We've recently added a jenkins test builder for the coreboot toolchain.
This patch allows what it builds to be controlled from the makefiles
checked into git instead of by a rule on the builder itself.
Change-Id: I65f70bac5ab97ecb27aae93ee370b26a2ab1f9c0
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/13954
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'util/crossgcc')
-rw-r--r-- | util/crossgcc/Makefile.inc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/util/crossgcc/Makefile.inc b/util/crossgcc/Makefile.inc index 0f27208388..dfa1ec829e 100644 --- a/util/crossgcc/Makefile.inc +++ b/util/crossgcc/Makefile.inc @@ -38,7 +38,8 @@ crossgcc: clean-for-update .PHONY: crossgcc crossgcc-i386 crossgcc-x64 crossgcc-arm crossgcc-aarch64 \ crossgcc-mips crossgcc-riscv crossgcc-power8 crossgcc-clean iasl \ clang crosstools-i386 crosstools-x64 crosstools-arm \ - crosstools-aarch64 crosstools-mips crosstools-riscv crosstools-power8 + crosstools-aarch64 crosstools-mips crosstools-riscv crosstools-power8 \ + jenkins-build-toolchain $(foreach arch,$(TOOLCHAIN_ARCHES),crossgcc-$(arch)): clean-for-update $(MAKE) -C util/crossgcc $(patsubst crossgcc-%,build-%,$@) build_iasl SKIP_GDB=1 @@ -65,3 +66,8 @@ ifeq ($(COMPILER_OUT_OF_DATE),1) else echo "The coreboot toolchain is the current version." 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' |