summaryrefslogtreecommitdiffstats
path: root/package/sdl
diff options
context:
space:
mode:
authorJulien Boibessot <julien.boibessot@armadeus.com>2010-01-26 13:04:43 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-01-26 13:17:43 +0100
commit48b628b8613d5f9a40c426be766285ca1bdaae58 (patch)
treea2f2b4770ac58edb10e7cea28c779e19424959e5 /package/sdl
parent99f74cbec5d5485776e36fc503faec17b737e4a2 (diff)
downloadbuildroot-novena-48b628b8613d5f9a40c426be766285ca1bdaae58.tar.gz
buildroot-novena-48b628b8613d5f9a40c426be766285ca1bdaae58.zip
sdl: needs tslib to be compiled first when selected.
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@armadeus.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/sdl')
-rw-r--r--package/sdl/sdl.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/sdl/sdl.mk b/package/sdl/sdl.mk
index f66ecc4f1..959be7ef7 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))