summaryrefslogtreecommitdiffstats
path: root/payloads/libpayload/Makefile.inc
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-04-14 10:27:03 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-04-14 16:39:42 +0200
commitd73c440959f7e8472143775a97bfa082877d139d (patch)
treec7d3b05a1cf89d133ae7bd132039d355c62ed289 /payloads/libpayload/Makefile.inc
parenta45d5d3f34b372f256e0b87e62d9348f75bae526 (diff)
downloadcoreboot-d73c440959f7e8472143775a97bfa082877d139d.tar.gz
coreboot-d73c440959f7e8472143775a97bfa082877d139d.tar.bz2
coreboot-d73c440959f7e8472143775a97bfa082877d139d.zip
libpayload: avoid hanging on make junit.xml
make oldconfig doesn't like 'y' as response to a choice item such as the architecture list. An empty response, however, is acceptable, so use that. Change-Id: Ic3164dd3f40e4a7f5d91e3a7008893655cd69ac2 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/9676 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/libpayload/Makefile.inc')
-rw-r--r--payloads/libpayload/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/Makefile.inc b/payloads/libpayload/Makefile.inc
index 8bf4ef549350..ed2e71f1fc31 100644
--- a/payloads/libpayload/Makefile.inc
+++ b/payloads/libpayload/Makefile.inc
@@ -125,7 +125,7 @@ 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 V=$(V) Q=$(Q) 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) V=$(V) Q=$(Q) CONFIG_CCACHE=$(CONFIG_CCACHE) DOTCONFIG=$$i >> $@.tmp.2 2>&1 && type="system-out" || type="failure"; \
if [ $$type = "failure" ]; then \