summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@infonline.de>2021-06-11 02:16:30 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2021-06-11 15:32:23 +0200
commitb83259f5d8417e231bf261a50954aa4c5709e814 (patch)
treeff53cbe7d2f0f1e16a72e567dd15f87a9fd7829b /target
parent0c96f7329fd5ec6b775bd6df6717a3bb87203874 (diff)
use bzImage for qemu-s390
Diffstat (limited to 'target')
-rw-r--r--target/s390/Makefile4
-rw-r--r--target/s390/systems/qemu-s3901
2 files changed, 3 insertions, 2 deletions
diff --git a/target/s390/Makefile b/target/s390/Makefile
index 93373aaa8..d037b14f8 100644
--- a/target/s390/Makefile
+++ b/target/s390/Makefile
@@ -5,11 +5,11 @@ include $(ADK_TOPDIR)/rules.mk
include $(ADK_TOPDIR)/mk/kernel-build.mk
include $(ADK_TOPDIR)/mk/image.mk
-KERNEL:=$(LINUX_DIR)/vmlinux
+KERNEL:=$(LINUX_DIR)/arch/s390/boot/compressed/vmlinux
QEMU_ARGS:=-monitor null -M s390-ccw-virtio-2.4
QEMU_ARGS+=${ADK_QEMU_ARGS}
-QEMU_ARGS+=-netdev user,id=eth0 -device virtio-net-ccw,netdev=eth0
+QEMU_ARGS+=-net nic,model=virtio -net user
# target helper text
ifeq ($(ADK_TARGET_FS),archive)
diff --git a/target/s390/systems/qemu-s390 b/target/s390/systems/qemu-s390
index 692f4a53c..dbb0a4c23 100644
--- a/target/s390/systems/qemu-s390
+++ b/target/s390/systems/qemu-s390
@@ -2,6 +2,7 @@ config ADK_TARGET_SYSTEM_QEMU_S390
bool "Qemu Emulator"
select ADK_TARGET_CPU_S390_Z900
select ADK_TARGET_QEMU
+ select ADK_TARGET_KERNEL_BZIMAGE
select ADK_TARGET_KERNEL_WITH_COMPRESSION
help
Support for Qemu Emulator S/390 architecture.