summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/build.mk3
-rw-r--r--mk/kernel-build.mk1
2 files changed, 3 insertions, 1 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 12c7bf2d3..375ccfb0b 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -503,8 +503,9 @@ test-framework:
for libc in $$libc;do \
( \
mkdir -p $(TOPDIR)/firmware/; \
- for arch in arm armhf microblaze microblazeel mips mipsel mips64 mips64el ppc ppc64 sh4 sh4eb sparc sparc64 i686 x86_64;do \
+ for arch in $$(grep -v m68k target/tarch.lst|xargs);do \
tarch=$$(echo $$arch|sed -e "s#el##" -e "s#eb##" -e "s#mips64.*#mips#" -e "s#i686#x86#" -e "s#sh4#sh#" -e "s#hf##"); \
+ arch=$$(echo $$arch|sed -e 's#x86$$#i686#'); \
echo === building qemu-$$arch for $$libc with $$tarch on $$(date); \
$(GMAKE) prereq && \
$(GMAKE) ARCH=$$tarch SYSTEM=qemu-$$arch LIBC=$$libc FS=initramfsarchive COLLECTION=test defconfig; \
diff --git a/mk/kernel-build.mk b/mk/kernel-build.mk
index ffb612334..448c133c3 100644
--- a/mk/kernel-build.mk
+++ b/mk/kernel-build.mk
@@ -54,6 +54,7 @@ $(LINUX_BUILD_DIR)/modules: $(LINUX_DIR)/$(KERNEL_FILE)
LOCALVERSION="" \
modules_install $(MAKE_TRACE)
$(TRACE) target/$(ADK_TARGET_ARCH)-create-packages
+ @mkdir -p ${PACKAGE_DIR}
ifneq ($(strip $(TARGETS)),)
$(MAKE) $(TARGETS)
endif