summaryrefslogtreecommitdiff
path: root/target/csky/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/csky/Makefile')
-rw-r--r--target/csky/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/target/csky/Makefile b/target/csky/Makefile
index 7a470dafe..7b668d815 100644
--- a/target/csky/Makefile
+++ b/target/csky/Makefile
@@ -7,16 +7,9 @@ include $(ADK_TOPDIR)/mk/image.mk
KERNEL:=$(LINUX_DIR)/$(ADK_TARGET_KERNEL)
+QEMU:=qemu-system-cskyv2
QEMU_ARGS:=${ADK_QEMU_ARGS} -M virt
-ifeq ($(ADK_TARGET_SYSTEM_QEMU_CSKY_CK610),y)
-QEMU:=qemu-system-cskyv1 -dtb target/csky/qemu.dtb
-endif
-ifeq ($(ADK_TARGET_SYSTEM_QEMU_CSKY_CK807),y)
-QEMU:=qemu-system-cskyv2 -dtb target/csky/qemu.dtb
-endif
-ifeq ($(ADK_TARGET_SYSTEM_QEMU_CSKY_CK810),y)
-QEMU:=qemu-system-cskyv2 -dtb target/csky/qemu.dtb
-endif
+QEMU_ARGS+=-netdev user,id=eth0 -device virtio-net-device,netdev=eth0
# target helper text
ifeq ($(ADK_TARGET_FS),archive)