summaryrefslogtreecommitdiff
path: root/target/x86/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-17 14:25:05 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-17 14:25:05 +0100
commit718043e164f93e243dad589af63ab68dbc0c7050 (patch)
tree4c5e73c43ba0c52da6ea21bedeb9436ab9d91403 /target/x86/Makefile
parent5ce18f2b0bc345445726aa6af6162ca3d978dfdb (diff)
fix boot from disk for qemu targets
Diffstat (limited to 'target/x86/Makefile')
-rw-r--r--target/x86/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/x86/Makefile b/target/x86/Makefile
index 91c9cef17..489d4dd1d 100644
--- a/target/x86/Makefile
+++ b/target/x86/Makefile
@@ -42,6 +42,12 @@ ifeq ($(ADK_HARDWARE_VBOX),y)
@echo "./scripts/create.sh -T vdi vbox-${CPU_ARCH}.img $(FW_DIR)/$(ROOTFSTARBALL)"
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),usb)
imageinstall: $(FW_DIR)/$(ROOTFSTARBALL)
@echo "The RootFS tarball is: $(FW_DIR)/$(ROOTFSTARBALL)"