summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-05 16:11:39 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-05 16:11:39 +0100
commitdf5c8cb4c8f3339ea884b0b572767ec6bcd3d006 (patch)
treedcdc8a63f5b6e4193227a7087bd2d6e02bef6998 /mk
parentfd18408048df162a23c6b28f7196c8e99e6df085 (diff)
add release target, to just build one system
Diffstat (limited to 'mk')
-rw-r--r--mk/build.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/mk/build.mk b/mk/build.mk
index f5d62460f..a6c5a7646 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -562,6 +562,18 @@ bulktoolchain:
if [ -f .exit ];then echo "Bulk build failed!"; rm .exit; exit 1;fi \
done
+release:
+ for libc in uclibc eglibc glibc musl;do \
+ mkdir -p $(TOPDIR)/bin/$(SYSTEM)_$(ARCH)_$$libc; \
+ ( \
+ echo === building $$libc on $$(date); \
+ $(GMAKE) prereq && \
+ $(GMAKE) ARCH=$(ARCH) SYSTEM=$(SYSTEM) LIBC=$$libc FS=archive allmodconfig; \
+ $(GMAKE) VERBOSE=1 all; if [ $$? -ne 0 ]; then touch .exit; exit 1;fi; \
+ rm .config; \
+ ) 2>&1 | tee $(TOPDIR)/bin/$(SYSTEM)_$(ARCH)_$$libc/build.log; \
+ done
+
# build all target architecture, target systems and libc combinations
bulk:
for libc in uclibc eglibc glibc musl;do \