aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2014-08-29 20:10:38 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2014-09-04 18:30:17 +0200
commit062e408bc77b935798145e29d4031f8105be5086 (patch)
treef2943bb40c66971a28b5ebb2f005ed15dd985083 /Makefile.inc
parent230fe0ef2f2e565a1b67ffea946d77c3c24ac0d4 (diff)
build: add what-jenkins-does target
This target does (pretty much) exactly the same what jenkins is doing on our build nodes: - complete abuild run of our tree with a given payload - building all libpayload configs we ship - building the cbmem utility In fact at some point we could tell jenkins to just run this command. For debugging, pass along V and Q variables so inner make processes are slightly more noisy on demand. Change-Id: Ib515170603a151cc3c3b10c743f1468a9875dbdc Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/6797 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 8b11cf6bdf..d72e6f94d3 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -565,3 +565,9 @@ $(obj)/coreboot.pre: $(objcbfs)/$(ROMSTAGE_ELF) $(obj)/coreboot.pre1 $(CBFSTOOL)
-n $(CONFIG_CBFS_PREFIX)/romstage -c none \
$(CBFSTOOL_PRE_OPTS)
mv $@.tmp $@
+
+JENKINS_PAYLOAD=none
+what-jenkins-does:
+ util/abuild/abuild -B -J -y -c 4 -p $(JENKINS_PAYLOAD)
+ (cd payloads/libpayload; $(MAKE) CONFIG_CCACHE=y V=$(V) Q=$(Q) junit.xml)
+ $(MAKE) V=$(V) Q=$(Q) -C util/cbmem junit.xml