summaryrefslogtreecommitdiff
path: root/mk/build.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-15 19:26:42 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-15 19:26:42 +0100
commite7540c9fa814f9b41f80e72bc160ce504e26cda6 (patch)
tree8c1e66138dd42c19d45cdff55a36d343e4c3a098 /mk/build.mk
parent0975f98bebcefd325c641b202d715522f5710700 (diff)
startup fixes
- always use /sbin/init, even for initramfs - mount devtmpfs for initramfs automatically in kernel space - fix armhf for adk-test-framework - remove mdev -s on boot, I think it is unneeded, takes very long on Qemu systems - add alias for ro/rw remounts of / - remove old /init and rc.shutdown, both unused
Diffstat (limited to 'mk/build.mk')
-rw-r--r--mk/build.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 0c2360bc4..e35f29d22 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -510,11 +510,12 @@ test-framework:
$(GMAKE) VERBOSE=1 all; if [ $$? -ne 0 ]; then touch .exit; exit 1;fi; \
tabi=$$(grep ^ADK_TARGET_ABI= .config|cut -d \" -f 2);\
if [ -z $$tabi ];then abi="";else abi=_$$tabi;fi; \
+ if [ $$arch = "armhf" ];then qarch=arm; else qarch=$$arch;fi; \
if [ -d root ];then rm -rf root;fi; \
- cp -a root_qemu_$${arch}_$${libc}$${abi} root; \
+ cp -a root_qemu_$${qarch}_$${libc}$${abi} root; \
mkdir -p $(TOPDIR)/firmware/qemu/$$arch; \
tar cJvf $(TOPDIR)/firmware/qemu/$$arch/root.tar.xz root; \
- cp $(TOPDIR)/firmware/qemu_$${arch}_$${libc}$${abi}/qemu-$${arch}-archive-kernel \
+ cp $(TOPDIR)/firmware/qemu_$${qarch}_$${libc}$${abi}/qemu-$${qarch}-archive-kernel \
$(TOPDIR)/firmware/qemu/$$arch/kernel; \
rm .config; \
done; \