summaryrefslogtreecommitdiff
path: root/target/ppc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-09-05 19:58:50 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-09-05 19:58:50 +0200
commit218111185307d2dc3da59ae467aa0c8e68324a86 (patch)
tree418c376bc97d5c4369b56405bd45d48ccf95ebf6 /target/ppc/Makefile
parent5bd343f06caa18e95825a4e6f4f31cf4786e7688 (diff)
allow booting from image disk
Diffstat (limited to 'target/ppc/Makefile')
-rw-r--r--target/ppc/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/ppc/Makefile b/target/ppc/Makefile
index 1b225d657..47a4b7df1 100644
--- a/target/ppc/Makefile
+++ b/target/ppc/Makefile
@@ -14,6 +14,13 @@ imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL)
@cp $(KERNEL) $(BIN_DIR)/${TARGET_KERNEL}
@echo 'The kernel file is: $(BIN_DIR)/${TARGET_KERNEL}'
@echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)"
+ifeq ($(ADK_HARDWARE_QEMU),y)
+ @cp $(KERNEL) $(BIN_DIR)/$(TARGET_KERNEL)
+ @echo "Use following command to create a QEMU Image:"
+ @echo "sudo ./scripts/create-image.sh -f ${ADK_TARGET_ROOTFS} qemu-${CPU_ARCH}.img $(BIN_DIR)/$(ROOTFSTARBALL)"
+ @echo "Start qemu with following command line:"
+ @echo 'qemu-system-ppc -nographic -kernel $(BIN_DIR)/$(TARGET_KERNEL) qemu-${CPU_ARCH}.img'
+endif
endif
ifeq ($(ADK_TARGET_FS),initramfs)
imageinstall: $(BIN_DIR)/$(INITRAMFS)