summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2010-04-01 23:04:29 +0200
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2010-04-01 23:04:29 +0200
commitf182170efcbc8907466384232d802bcaf0801a4a (patch)
tree399571341b76ecce977507c48c85d200764ac1e7
parenta7122153c6d44d0316bfe4a082a94df51500c197 (diff)
downloadembtoolkit-f182170efcbc8907466384232d802bcaf0801a4a.tar.gz
embtoolkit-f182170efcbc8907466384232d802bcaf0801a4a.tar.bz2
embtoolkit-f182170efcbc8907466384232d802bcaf0801a4a.tar.xz
Packages: xserver: give ability to link against tslib
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
-rw-r--r--packages/x11/xserver/xserver.kconfig5
-rw-r--r--packages/x11/xserver/xserver.mk5
2 files changed, 10 insertions, 0 deletions
diff --git a/packages/x11/xserver/xserver.kconfig b/packages/x11/xserver/xserver.kconfig
index faae10b..90a8414 100644
--- a/packages/x11/xserver/xserver.kconfig
+++ b/packages/x11/xserver/xserver.kconfig
@@ -57,6 +57,11 @@ choice
bool "xserver-1.7.6"
endchoice
+config EMBTK_HAVE_XSERVER_WITH_TSLIB
+ bool "build the x server with touchscreen library"
+ depends on EMBTK_HAVE_XSERVER
+ select EMBTK_HAVE_TSLIB
+
config EMBTK_XSERVER_VERSION_STRING
string
default "1.7.6" if EMBTK_XSERVER_VERSION_1_7_6
diff --git a/packages/x11/xserver/xserver.mk b/packages/x11/xserver/xserver.mk
index 63dd682..a80834a 100644
--- a/packages/x11/xserver/xserver.mk
+++ b/packages/x11/xserver/xserver.mk
@@ -51,6 +51,11 @@ XSERVER_CONFIGURE_OPTS := --enable-kdrive --with-sha1=libcrypto \
--disable-screensaver --disable-dri --disable-tcp-transport \
--disable-ipv6
+ifeq ($(CONFIG_EMBTK_HAVE_XSERVER_WITH_TSLIB),y)
+XSERVER_DEPS += tslib_install
+XSERVER_CONFIGURE_OPTS += --enable-tslib
+endif
+
xserver_install: $(XSERVER_BUILD_DIR)/.installed
$(XSERVER_BUILD_DIR)/.installed: $(XSERVER_DEPS) download_xserver \