mbox series

[v2,0/4] sdl: Let it be optional (in particular, on OpenBSD)

Message ID 20190124011554.25418-1-philmd@redhat.com
Headers show
Series sdl: Let it be optional (in particular, on OpenBSD) | expand

Message

Philippe Mathieu-Daudé Jan. 24, 2019, 1:15 a.m. UTC
v1 was too simple to work, so here we go again.
I hit a problem with the Milkymist TMU device when disabling SDL,
so I fixed it and added another patch in this series which clean
a bit the device, but is not required for this series.
The important patches are 1-3, and eventually 1-2 could be squashed
altogether, although the changes are slighly different.

Regards,

Phil.

v1 https://lists.gnu.org/archive/html/qemu-devel/2019-01/msg05509.html

Philippe Mathieu-Daudé (4):
  configure: LM32 Milkymist Texture Mapping Unit (tmu2) also depends of
    X11
  hw/display/milkymist-tmu2: Explicit the dependency to both X11 /
    OpenGL
  configure: Let SDL support be optional on OpenBSD
  hw/display/milkymist-tmu2: Move inlined code from header to source

 MAINTAINERS                         |  1 +
 configure                           | 16 +++++++-
 default-configs/lm32-softmmu.mak    |  2 +-
 hw/display/Makefile.objs            |  4 +-
 hw/display/milkymist-tmu2.c         | 49 ++++++++++++++++++++++
 hw/lm32/milkymist-hw.h              | 63 -----------------------------
 hw/lm32/milkymist.c                 |  1 +
 include/hw/display/milkymist_tmu2.h | 41 +++++++++++++++++++
 8 files changed, 110 insertions(+), 67 deletions(-)
 create mode 100644 include/hw/display/milkymist_tmu2.h