diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-08-24 04:09:28 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-08-24 04:09:28 +0200 |
commit | 0f664e8007ce59f13ae5c79cc4f88658b0c1338e (patch) | |
tree | 5dba7bed5a05f6a68eac7c229785b88b91411954 /target/ppc64/Makefile | |
parent | 98bd87cd6fee80b90bad571c254b7a35782d9a51 (diff) |
better ppc64 support, qemu still hangs @ returning from prom_init
Diffstat (limited to 'target/ppc64/Makefile')
-rw-r--r-- | target/ppc64/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/target/ppc64/Makefile b/target/ppc64/Makefile index a60d376a9..0e9ac9547 100644 --- a/target/ppc64/Makefile +++ b/target/ppc64/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/mk/modules.mk include $(TOPDIR)/mk/kernel-build.mk include $(TOPDIR)/mk/image.mk -KERNEL:=$(LINUX_DIR)/arch/powerpc/boot/zImage +KERNEL:=$(LINUX_DIR)/vmlinux ifeq ($(ADK_TARGET_FS),archive) imageinstall: $(BIN_DIR)/$(ROOTFSTARBALL) @@ -20,9 +20,17 @@ imageinstall: $(BIN_DIR)/$(INITRAMFS) @cp $(KERNEL) $(BIN_DIR)/$(TARGET_KERNEL) @echo 'The kernel file is: $(BIN_DIR)/${TARGET_KERNEL}' @echo 'The initramfs image is: ${BIN_DIR}/${INITRAMFS}' +ifeq ($(ADK_TARGET_SYSTEM_QEMU_PPC64),y) + @echo "Start qemu with following command line:" + @echo 'qemu-system-ppc64 -nographic -kernel $(BIN_DIR)/$(TARGET_KERNEL) -initrd ${BIN_DIR}/${INITRAMFS}' +endif endif ifeq ($(ADK_TARGET_FS),initramfs-piggyback) imageinstall: ${BUILD_DIR}/${INITRAMFS_PIGGYBACK} createinitramfs @cp $(KERNEL) $(BIN_DIR)/${TARGET_KERNEL} @echo 'The kernel+initramfs file is: $(BIN_DIR)/${TARGET_KERNEL}' +ifeq ($(ADK_TARGET_SYSTEM_QEMU_PPC64),y) + @echo "Start qemu with following command line:" + @echo 'qemu-system-ppc64 -nographic -kernel $(BIN_DIR)/$(TARGET_KERNEL)' +endif endif |