summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-02 08:51:11 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-02 08:51:11 +0100
commitc5b18c5ea192d106980d40d25437b7951f76760c (patch)
tree05ae338faaba79ff463dcd937dfa65fe0d689e90 /mk
parent2803ef3968040837af6196081e923d244b87f7c8 (diff)
add basic steps for qemu test framework building
Diffstat (limited to 'mk')
-rw-r--r--mk/build.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 3108ec064..8000702d8 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -543,6 +543,22 @@ bulktoolchain:
if [ -f .exit ];then echo "Bulk build failed!"; rm .exit; exit 1;fi \
done
+test-framework:
+ for libc in uclibc eglibc glibc musl;do \
+ mkdir -p $(TOPDIR)/firmware/$(SYSTEM)_$(ARCH)_$$libc; \
+ ( \
+ for arch in arm mips mipsel x86 x86_64;do \
+ echo === building qemu-$$arch for $$libc on $$(date); \
+ $(GMAKE) prereq && \
+ $(GMAKE) ARCH=$$arch SYSTEM=qemu-$$arch LIBC=$$libc FS=archive defconfig; \
+ $(GMAKE) VERBOSE=1 all; if [ $$? -ne 0 ]; then touch .exit; exit 1;fi; \
+ rm .config; \
+ done; \
+ ) 2>&1 | tee $(TOPDIR)/firmware/$(SYSTEM)_$(ARCH)_$$libc/build.log; \
+ if [ -f .exit ];then echo "Bulk build failed!"; break;fi \
+ done
+ if [ -f .exit ];then rm .exit;exit 1;fi
+
release:
for libc in uclibc eglibc glibc musl;do \
mkdir -p $(TOPDIR)/firmware/$(SYSTEM)_$(ARCH)_$$libc; \