From cf584e106f540cfd3a2ac7ece70a4211adbcc66d Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 23 Jun 2017 21:55:53 +0200 Subject: qemu-sparc64: avoid warning --- target/sparc64/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/target/sparc64/Makefile b/target/sparc64/Makefile index 9a224a430..2c7efe3d6 100644 --- a/target/sparc64/Makefile +++ b/target/sparc64/Makefile @@ -9,6 +9,11 @@ KERNEL:=$(LINUX_DIR)/vmlinux QEMU_ARGS:=-M sun4u QEMU_ARGS+=${ADK_QEMU_ARGS} + +ifeq ($(ADK_TARGET_QEMU_WITH_BLOCK),y) +QEMU_ARGS+=-drive file=qemu-${ADK_TARGET_CPU_ARCH}.img,format=raw +endif + ifeq ($(ADK_TARGET_QEMU_WITH_VIRTIO),y) QEMU_ARGS+=-net nic,model=virtio -net user ifeq ($(ADK_TARGET_FS),archive) @@ -27,7 +32,7 @@ ifeq ($(ADK_TARGET_QEMU),y) @echo "Use following command to create a QEMU Image:" @echo "./scripts/create.sh qemu-${ADK_TARGET_CPU_ARCH}.img $(FW_DIR)/$(ROOTFSTARBALL)" @echo "Start qemu with following options:" - @echo 'qemu-system-${ADK_TARGET_CPU_ARCH} ${QEMU_ARGS} -kernel $(FW_DIR)/$(TARGET_KERNEL) qemu-${ADK_TARGET_CPU_ARCH}.img' + @echo 'qemu-system-${ADK_TARGET_CPU_ARCH} ${QEMU_ARGS} -kernel $(FW_DIR)/$(TARGET_KERNEL)' endif endif ifeq ($(ADK_TARGET_FS),initramfs) -- cgit v1.2.3