aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2018-09-04 13:46:48 +0200
committerToni Uhlig <matzeton@googlemail.com>2018-09-04 13:46:48 +0200
commit4a4d3af3d24700f7ea5d4885f7f652a4b85b7a12 (patch)
tree07c06cb640f26aa1178dd253aadcb54f2f10d4b5 /Makefile
parentf405cd6f119c24d112e6ff46ff91b0527402a7a3 (diff)
use your current tty for qemu with `make qemu-serial`
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1a4769a..c05b0ac 100644
--- a/Makefile
+++ b/Makefile
@@ -156,6 +156,9 @@ qemu: image
qemu-console: image
qemu-system-$(ARCH) -kernel '$(LINUX_BUILD_DIR)/arch/$(ARCH)/boot/bzImage' -initrd '$(INITRD_TARGET)' -enable-kvm -curses
+qemu-serial: image
+ qemu-system-$(ARCH) -kernel '$(LINUX_BUILD_DIR)/arch/$(ARCH)/boot/bzImage' -initrd '$(INITRD_TARGET)' -enable-kvm -nographic -append console=ttyS0
+
qemu-net: image
qemu-system-$(ARCH) -kernel '$(LINUX_BUILD_DIR)/arch/$(ARCH)/boot/bzImage' -initrd '$(INITRD_TARGET)' -enable-kvm -vga qxl -display sdl \
-net nic,macaddr=$(NET_HWADDR) -net tap,ifname=linux-qemu-test,br=$(NET_BRIDGE) -append 'net $(if $(NET_IP4),ip4)'