summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.inc6
-rw-r--r--payloads/libpayload/Makefile.inc4
2 files changed, 8 insertions, 2 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
diff --git a/payloads/libpayload/Makefile.inc b/payloads/libpayload/Makefile.inc
index a5de4b3ef8..5eeb9077dc 100644
--- a/payloads/libpayload/Makefile.inc
+++ b/payloads/libpayload/Makefile.inc
@@ -122,9 +122,9 @@ junit.xml:
echo '<?xml version="1.0" encoding="utf-8"?><testsuite>' > $@.tmp
for i in $(filter-out %.old,$(wildcard configs/*)); do \
$(MAKE) clean; \
- yes | $(MAKE) oldconfig DOTCONFIG=$$i 2>/dev/null >/dev/null; \
+ yes | $(MAKE) oldconfig DOTCONFIG=$$i V=$(V) Q=$(Q) 2>/dev/null >/dev/null; \
echo "<testcase classname='libpayload' name='$$i'>" >> $@.tmp; \
- $(MAKE) CONFIG_CCACHE=$(CONFIG_CCACHE) DOTCONFIG=$$i >> $@.tmp.2 2>&1 && type="system-out" || type="failure"; \
+ $(MAKE) V=$(V) Q=$(Q) CONFIG_CCACHE=$(CONFIG_CCACHE) DOTCONFIG=$$i >> $@.tmp.2 2>&1 && type="system-out" || type="failure"; \
if [ $$type = "failure" ]; then \
echo "<failure type='buildFailed'>" >> $@.tmp; \
else \