[Buildroot] [PATCH 10/12] sdl: remove dga support in no MMU

Jérôme Pouiller jezz at sysmic.org
Fri Sep 12 15:50:09 UTC 2014


DGA support use fork. This prevent executables to link with libSDL.so.

Fixes:
  http://sysmic.org/~jezz/results/5e50c243 (package sdl_mixer)
  http://sysmic.org/~jezz/results/734afef8 (package sdl_net)
  http://sysmic.org/~jezz/results/e2310eb9 (package sdl_image)
  http://sysmic.org/~jezz/results/e2cdcc9a (package sdl_sound)

Signed-off-by: Jérôme Pouiller <jezz at sysmic.org>
---
 package/sdl/sdl.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/sdl/sdl.mk b/package/sdl/sdl.mk
index 8d0e5bd..77fbdd9 100644
--- a/package/sdl/sdl.mk
+++ b/package/sdl/sdl.mk
@@ -53,6 +53,10 @@ else
 SDL_CONF_OPT += --enable-video-x11=no
 endif
 
+ifneq ($(BR2_USE_MMU),y)
+SDL_CONF_OPT += --enable-dga=no
+endif
+
 ifeq ($(BR2_PACKAGE_TSLIB),y)
 SDL_DEPENDENCIES += tslib
 endif
-- 
2.1.0



More information about the buildroot mailing list