summaryrefslogtreecommitdiff
path: root/target/ppc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-09-06 17:05:48 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-09-06 17:05:48 +0200
commit22c98b057c236c8ff15740c787152c27d1fced00 (patch)
treed7f70e374b36fcc9672354e21d1cc6c0825564d1 /target/ppc/Makefile
parent7ed65cbcb419432904ce12096723689992bac047 (diff)
parent42608911b38cba0090d16a960d0af63ac04e06e7 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
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)