summaryrefslogtreecommitdiffstats
path: root/rules/sdl.make
diff options
context:
space:
mode:
authorJuergen Beisert <jbe@pengutronix.de>2012-01-24 13:10:46 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-01-25 14:13:16 +0100
commit0441e515e6aabc2e2fd1ae426c33f4d895fd16bb (patch)
tree85a583d84c7519066ebbe5b14d5907144d6e10cf /rules/sdl.make
parenta7bc7edd14b8a1a499b6a43343385df8f225d16b (diff)
downloadptxdist-0441e515e6aabc2e2fd1ae426c33f4d895fd16bb.tar.gz
ptxdist-0441e515e6aabc2e2fd1ae426c33f4d895fd16bb.tar.xz
Add tslib dependency to SDL
The SDL configure stage guesses if the tslib is available. So, if touchscreen support is available at runtime or not depends on the build order. This patch fixes the build order on demand. Reported-by: Wingston Sharon <wingston.sharon@gmail.com> Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/sdl.make')
-rw-r--r--rules/sdl.make4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules/sdl.make b/rules/sdl.make
index 17f2e68f2..d96b27960 100644
--- a/rules/sdl.make
+++ b/rules/sdl.make
@@ -43,7 +43,9 @@ SDL_ENV := $(CROSS_ENV)
#
# autoconf
#
-SDL_AUTOCONF := $(CROSS_AUTOCONF_USR)
+SDL_AUTOCONF := \
+ $(CROSS_AUTOCONF_USR) \
+ --$(call ptx/endis,PTXCONF_SDL_TSLIB)-input-tslib \
ifdef PTXCONF_SDL_SHARED
SDL_AUTOCONF += --enable-shared