summaryrefslogtreecommitdiff
path: root/target/sparc64/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-08-24 15:37:54 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-08-24 15:37:54 +0200
commitdba3e49a84a07bb1c248d2da9edd0b5d1c502ee8 (patch)
tree70a8af08b2a9bbf4c2f56abb9493ae08c7944d27 /target/sparc64/Makefile
parenta90eb09d8eb3f03d96c5624af558710d6bbe54b5 (diff)
now only userland segfaults
Diffstat (limited to 'target/sparc64/Makefile')
-rw-r--r--target/sparc64/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/target/sparc64/Makefile b/target/sparc64/Makefile
index 39212d52e..3e7240621 100644
--- a/target/sparc64/Makefile
+++ b/target/sparc64/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/sparc/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_SPARC64),y)
+ @echo "Start qemu with following command line:"
+ @echo 'qemu-system-sparc64 -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_SPARC64),y)
+ @echo "Start qemu with following command line:"
+ @echo 'qemu-system-sparc64 -nographic -kernel $(BIN_DIR)/$(TARGET_KERNEL)'
+endif
endif