sdl: needs tslib to be compiled first when selected.
authorJulien Boibessot <julien.boibessot@armadeus.com>
Tue, 26 Jan 2010 12:04:43 +0000 (13:04 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 26 Jan 2010 12:17:43 +0000 (13:17 +0100)
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>
CHANGES
package/sdl/sdl.mk

diff --git a/CHANGES b/CHANGES
index 8c1b7aaa2bf3ab15d91c5001ca523cd349eb1417..25b955c698dac6b8c3a8b31f8c1da316f8b046a0 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -7,7 +7,7 @@
        Updated/fixed packages: autoconf, bind, binutils, bootutils, busybox,
        directfb, e2fsprogs, gstreamer, gst-plugins-bad, hal, iptables,
        iw, jpeg, kismet, libfuse, libpcap, libungif, lighttpd, mesa, mpg123,
-       mtd-utils, neon, openvpn, pcre, qt, rpm, sdl_ttf, sqlite, sshfs,
+       mtd-utils, neon, openvpn, pcre, qt, rpm, sdl, sdl_ttf, sqlite, sshfs,
        tremor, u-boot, usb_modeswitch, usbutils, wpa_supplicant, xfsprogs
 
        Issues resolved (http://bugs.uclibc.org):
index f66ecc4f1299db613c7d824019a2e0e90f79810a..959be7ef70242764a7f658343254e43a023eda24 100644 (file)
@@ -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))