summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2015-07-31 16:54:44 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-07-31 19:43:59 +0200
commitc6a4aae8a310d36272c9547ff002bd1aeabf5a42 (patch)
treedcf720bd6591d0b79d96341715428d967edf7e2f
parente1514070c9cccb4c69fcf622f7159c114d08d7f3 (diff)
downloadcoreboot-c6a4aae8a310d36272c9547ff002bd1aeabf5a42.tar.xz
what-jenkins-does: make CPU count configurable
Change-Id: I55eb833dba3b13c46138f7d1facc31d999e52db4 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: http://review.coreboot.org/11097 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r--Makefile.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 0cb597fba4..ef9b52231c 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -681,7 +681,8 @@ $(obj)/board_id:
printf $(CONFIG_BOARD_ID_STRING) > $@
JENKINS_PAYLOAD?=none
+CPUS?=4
what-jenkins-does:
- util/abuild/abuild -B -J $(if $(JENKINS_NOCCACHE),,-y) -c 4 -z -p $(JENKINS_PAYLOAD)
+ util/abuild/abuild -B -J $(if $(JENKINS_NOCCACHE),,-y) -c $(CPUS) -z -p $(JENKINS_PAYLOAD)
(cd payloads/libpayload; unset COREBOOT_BUILD_DIR; $(MAKE) $(if $(JENKINS_NOCCACHE),,CONFIG_LP_CCACHE=y) V=$(V) Q=$(Q) junit.xml)
$(MAKE) V=$(V) Q=$(Q) -C util/cbmem junit.xml