Use HOST_QEMU_OPTS instead of patching Buildroot

This commit is contained in:
Ciro Santilli
2017-06-03 07:34:11 +01:00
parent ec5246f85b
commit 817344e874
3 changed files with 13 additions and 19 deletions

View File

@@ -1,5 +1,7 @@
# Buildroot patches
Every `.patch` file in this directory gets applied to build-root before anything else is done.
Ideally, this directory should be empty, and we should use only built-in Buildroot configuration mechanisms.
But alas, life is sometimes not ideal.

View File

@@ -1,14 +0,0 @@
https://bugs.busybox.net/show_bug.cgi?id=9936
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