summaryrefslogtreecommitdiffstats
path: root/package/x11r7/xserver_xorg-server
diff options
context:
space:
mode:
authorJohn Voltz <john.voltz@gmail.com>2008-04-24 13:22:14 +0000
committerJohn Voltz <john.voltz@gmail.com>2008-04-24 13:22:14 +0000
commit2d1edaa4858eb47e0b93ea2cb118ce8305082880 (patch)
treee1bdaba8973bbeeb644e61574a16d0b2c9348450 /package/x11r7/xserver_xorg-server
parentd74dfa37fcaa492fa01e3e966323118382c74ede (diff)
downloadbuildroot-novena-2d1edaa4858eb47e0b93ea2cb118ce8305082880.tar.gz
buildroot-novena-2d1edaa4858eb47e0b93ea2cb118ce8305082880.zip
some fixes for X
Diffstat (limited to 'package/x11r7/xserver_xorg-server')
-rw-r--r--package/x11r7/xserver_xorg-server/xserver_xorg-server.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
index fbddfc568..a85b152da 100644
--- a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
+++ b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
@@ -28,4 +28,10 @@ XSERVER_XORG_SERVER_CONF_OPT = --enable-kdrive --enable-xfbdev --enable-freetype
XSERVER_XORG_SERVER_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
+# Optional packages
+ifeq ($(strip $(BR2_PACKAGE_TSLIB)),y)
+XSERVER_XORG_SERVER_DEPENDENCIES += tslib
+XSERVER_XORG_SERVER_CONF_OPT += --enable-tslib LDFLAGS="-lts"
+endif
+
$(eval $(call AUTOTARGETS,package/x11r7,xserver_xorg-server))