diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-17 14:25:05 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-17 14:25:05 +0100 |
commit | 718043e164f93e243dad589af63ab68dbc0c7050 (patch) | |
tree | 4c5e73c43ba0c52da6ea21bedeb9436ab9d91403 /target/sh | |
parent | 5ce18f2b0bc345445726aa6af6162ca3d978dfdb (diff) |
fix boot from disk for qemu targets
Diffstat (limited to 'target/sh')
-rw-r--r-- | target/sh/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/target/sh/Makefile b/target/sh/Makefile index 3cf65f614..160ed6b74 100644 --- a/target/sh/Makefile +++ b/target/sh/Makefile @@ -22,6 +22,12 @@ ifneq ($(ADK_HARDWARE_QEMU),) @echo 'qemu-system-${CPU_ARCH} ${QEMU_ARGS} -M r2d -kernel $(FW_DIR)/$(TARGET_KERNEL) qemu-${CPU_ARCH}.img' endif endif +ifeq ($(ADK_TARGET_FS),initramfsarchive) +imageinstall: $(FW_DIR)/$(ROOTFSTARBALL) + @cp $(KERNEL) $(FW_DIR)/$(TARGET_KERNEL) + @echo 'The kernel file is: $(FW_DIR)/${TARGET_KERNEL}' + @echo "The RootFS tarball is: $(FW_DIR)/$(ROOTFSTARBALL)" +endif ifeq ($(ADK_TARGET_FS),initramfs) imageinstall: $(FW_DIR)/$(INITRAMFS) @cp $(KERNEL) $(FW_DIR)/$(TARGET_KERNEL) |