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>
This commit is contained in:
Patrick Georgi 2015-07-31 16:54:44 +02:00
parent e1514070c9
commit c6a4aae8a3
1 changed files with 2 additions and 1 deletions

View File

@ -681,7 +681,8 @@ $(obj)/board_id:
printf $(CONFIG_BOARD_ID_STRING) > $@ printf $(CONFIG_BOARD_ID_STRING) > $@
JENKINS_PAYLOAD?=none JENKINS_PAYLOAD?=none
CPUS?=4
what-jenkins-does: 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) (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 $(MAKE) V=$(V) Q=$(Q) -C util/cbmem junit.xml