mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
Use buildroot qemu
This commit is contained in:
5
buildroot_patches/README.md
Normal file
5
buildroot_patches/README.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Buildroot patches
|
||||
|
||||
Ideally, this directory should be empty, and we should use only built-in Buildroot configuration mechanisms.
|
||||
|
||||
But alas, life is sometimes not ideal.
|
||||
12
buildroot_patches/qemu_sdl.patch
Normal file
12
buildroot_patches/qemu_sdl.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
|
||||
index 66efcba..1e09ea4 100644
|
||||
--- a/package/qemu/qemu.mk
|
||||
+++ b/package/qemu/qemu.mk
|
||||
@@ -74,6 +74,7 @@ HOST_QEMU_SYS_ARCH ?= $(HOST_QEMU_ARCH)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE),y)
|
||||
HOST_QEMU_TARGETS += $(HOST_QEMU_SYS_ARCH)-softmmu
|
||||
+HOST_QEMU_OPTS += --enable-sdl --with-sdlabi=2.0
|
||||
HOST_QEMU_OPTS += --enable-system --enable-fdt
|
||||
HOST_QEMU_DEPENDENCIES += host-dtc
|
||||
else
|
||||
Reference in New Issue
Block a user