diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-06-18 19:06:18 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-06-18 19:07:08 +0200 |
commit | 30780da8a5b800db825b4fd72c715ca2d8203bd7 (patch) | |
tree | adc35da8af22ee6a92ff1ae9bf1e7c9d6da003f4 /target/alpha/Makefile | |
parent | 1dd518b0f86f96c36d582e5f5c9f78b5c65131e9 (diff) |
qemu-alpha: add disk support
Diffstat (limited to 'target/alpha/Makefile')
-rw-r--r-- | target/alpha/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/target/alpha/Makefile b/target/alpha/Makefile index f80cdec38..2d58e8014 100644 --- a/target/alpha/Makefile +++ b/target/alpha/Makefile @@ -10,6 +10,10 @@ KERNEL:=$(LINUX_DIR)/vmlinux QEMU_ARGS:=-monitor null QEMU_ARGS+=${ADK_QEMU_ARGS} +ifeq ($(ADK_TARGET_QEMU_WITH_BLOCK),y) +QEMU_ARGS+=-drive file=qemu-alpha.img,format=raw -append "root=/dev/hda1" +endif + # target helper text ifeq ($(ADK_TARGET_FS),archive) targethelp: @@ -19,7 +23,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) |