summaryrefslogtreecommitdiff
path: root/target/sparc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-08-24 05:38:26 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-08-24 05:38:26 +0200
commitc39e8b5f6441ae3a9ba351bd5e3c2d31e0371415 (patch)
tree782dc9f207976c90c24ed977766300f66ea502c0 /target/sparc/Makefile
parent0f664e8007ce59f13ae5c79cc4f88658b0c1338e (diff)
add qemu sparc support
Diffstat (limited to 'target/sparc/Makefile')
-rw-r--r--target/sparc/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/sparc/Makefile b/target/sparc/Makefile
index 39212d52e..5fe97c12a 100644
--- a/target/sparc/Makefile
+++ b/target/sparc/Makefile
@@ -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_SPARC),y)
+ @echo "Start qemu with following command line:"
+ @echo 'qemu-system-sparc -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_SPARC),y)
+ @echo "Start qemu with following command line:"
+ @echo 'qemu-system-sparc -nographic -kernel $(BIN_DIR)/$(TARGET_KERNEL)'
+endif
endif