[Buildroot] [PATCH] SDL needs tslib to be compiled first when selected.
julien.boibessot at free.fr
julien.boibessot at free.fr
Tue Jan 26 12:04:43 UTC 2010
From: Julien Boibessot <julien.boibessot at armadeus.com>
If SDL is built before tslib, then SDL can't detect it at configure time and so
touchscreen's support in SDL is crappy.
Signed-off-by: Julien Boibessot <julien.boibessot at armadeus.com>
---
package/sdl/sdl.mk | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/package/sdl/sdl.mk b/package/sdl/sdl.mk
index f66ecc4..959be7e 100644
--- a/package/sdl/sdl.mk
+++ b/package/sdl/sdl.mk
@@ -41,6 +41,10 @@ else
SDL_X11=--enable-video-x11=no
endif
+ifeq ($(BR2_PACKAGE_TSLIB),y)
+SDL_DEPENDENCIES += tslib
+endif
+
$(DL_DIR)/$(SDL_SOURCE):
$(call DOWNLOAD,$(SDL_SITE),$(SDL_SOURCE))
--
1.6.0.4
More information about the buildroot
mailing list