summaryrefslogtreecommitdiff
path: root/mk/build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/build.mk')
-rw-r--r--mk/build.mk23
1 files changed, 10 insertions, 13 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 2d4523e75..8efd7becc 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -80,7 +80,6 @@ DEFCONFIG= ADK_DEBUG=n \
ADK_KERNEL_DEBUG_WITH_KGDB=n
noconfig_targets:= menuconfig \
- guiconfig \
_config \
_mconfig \
distclean \
@@ -389,6 +388,12 @@ endif
|sed -e "s#^config \(.*\)#\1=y#" \
>> $(TOPDIR)/.defconfig; \
fi
+ @if [ ! -z "$(COLLECTION)" ];then \
+ grep -h "^config" target/packages/pkg-available/* \
+ |grep -i "$(COLLECTION)" \
+ |sed -e "s#^config \(.*\)#\1=y#" \
+ >> $(TOPDIR)/.defconfig; \
+ fi
@if [ ! -z "$(PKG)" ];then \
grep "^config" target/config/Config.in \
|grep -i "$(PKG)" \
@@ -500,15 +505,6 @@ menuconfig: $(CONFIG)/mconf defconfig .menu package/Config.in.auto
@$(CONFIG)/mconf $(CONFIG_CONFIG_IN)
${POSTCONFIG}
-guiconfig: $(CONFIG)/gconf defconfig .menu package/Config.in.auto
- @${BASH} ${TOPDIR}/scripts/update-sys
- @${BASH} ${TOPDIR}/scripts/update-pkg
- @if [ ! -f .config ];then \
- $(CONFIG)/conf -D .defconfig $(CONFIG_CONFIG_IN); \
- fi
- @$(CONFIG)/gconf $(CONFIG_CONFIG_IN)
- ${POSTCONFIG}
-
_config: $(CONFIG)/conf .menu package/Config.in.auto
-@touch .config
@$(CONFIG)/conf ${W} $(CONFIG_CONFIG_IN)
@@ -555,10 +551,11 @@ test-framework:
for libc in uclibc 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); \
+ for arch in arm mips mipsel mips64 mips64el ppc ppc64 sparc sparc64 i686 x86_64;do \
+ tarch=$$(echo $$arch|sed -e "s#el##" -e "s#eb##" -e "s#mips64.*#mips#" -e "s#i686#x86#"); \
+ echo === building qemu-$$arch for $$libc with $$tarch on $$(date); \
$(GMAKE) prereq && \
- $(GMAKE) ARCH=$$arch SYSTEM=qemu-$$arch LIBC=$$libc FS=archive defconfig; \
+ $(GMAKE) ARCH=$$tarch SYSTEM=qemu-$$arch LIBC=$$libc FS=archive COLLECTION=test defconfig; \
$(GMAKE) VERBOSE=1 all; if [ $$? -ne 0 ]; then touch .exit; exit 1;fi; \
rm .config; \
done; \