From 2114880f66ce567bb507b26218f9e88241348ec1 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Tue, 8 Mar 2016 09:27:45 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/13954 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer Reviewed-by: Paul Menzel --- util/crossgcc/Makefile.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'util/crossgcc') 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' -- cgit v1.2.3