aboutsummaryrefslogtreecommitdiff
path: root/toolchains/i386_qemu.bzl
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2024-03-08 17:24:49 +0200
committeraqua <aqua@iserlohn-fortress.net>2024-03-08 22:00:07 +0200
commit20b97ea7c0dbbdc13800e12ff5c86c00c4a342ec (patch)
tree473281e5fc8b256827ce1a678573444e1aa5f669 /toolchains/i386_qemu.bzl
parentGenerate src/conf.h (diff)
downloadkernel-20b97ea7c0dbbdc13800e12ff5c86c00c4a342ec.tar.xz
Bazel build
Diffstat (limited to 'toolchains/i386_qemu.bzl')
-rw-r--r--toolchains/i386_qemu.bzl8
1 files changed, 8 insertions, 0 deletions
diff --git a/toolchains/i386_qemu.bzl b/toolchains/i386_qemu.bzl
new file mode 100644
index 0000000..c9f8535
--- /dev/null
+++ b/toolchains/i386_qemu.bzl
@@ -0,0 +1,8 @@
+_wrapper_template = """\
+#!/bin/bash
+qemu-system-i386 -accel kvm -machine pc -d cpu_reset -display gtk,zoom-to-fit=on -cdrom {cdrom}
+"""
+
+def qemu_wrapper():
+ return _wrapper_template
+