summaryrefslogtreecommitdiffstats
path: root/meta/packages/tslib
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-02-14 21:17:32 +0000
committerRichard Purdie <richard@openedhand.com>2008-02-14 21:17:32 +0000
commit32a4e06db5408740e7d8f643adb8d2dffb3abd9e (patch)
tree400170fafa9d198b57019013059aea7b902e588e /meta/packages/tslib
parent838c47ce6c1f49c16505fe658508a4df90c347fe (diff)
downloadpoky-32a4e06db5408740e7d8f643adb8d2dffb3abd9e.tar.gz
tslib: Check touchscreen exists before setting TSLIB_TSDEVICE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3811 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/tslib')
-rw-r--r--meta/packages/tslib/tslib/tslib.sh6
-rw-r--r--meta/packages/tslib/tslib_1.0.bb2
2 files changed, 5 insertions, 3 deletions
diff --git a/meta/packages/tslib/tslib/tslib.sh b/meta/packages/tslib/tslib/tslib.sh
index 5221b05b8a..7068e8d922 100644
--- a/meta/packages/tslib/tslib/tslib.sh
+++ b/meta/packages/tslib/tslib/tslib.sh
@@ -1,6 +1,8 @@
1#!/bin/sh 1#!/bin/sh
2 2
3TSLIB_TSDEVICE=/dev/input/touchscreen0 3if [ -e /dev/input/touchscreen0 ]; then
4 TSLIB_TSDEVICE=/dev/input/touchscreen0
4 5
5export TSLIB_TSDEVICE 6 export TSLIB_TSDEVICE
7fi
6 8
diff --git a/meta/packages/tslib/tslib_1.0.bb b/meta/packages/tslib/tslib_1.0.bb
index 6d219a1a85..ad75366812 100644
--- a/meta/packages/tslib/tslib_1.0.bb
+++ b/meta/packages/tslib/tslib_1.0.bb
@@ -4,7 +4,7 @@ AUTHOR = "Russell King w/ plugins by Chris Larson et. al."
4SECTION = "base" 4SECTION = "base"
5LICENSE = "LGPL" 5LICENSE = "LGPL"
6 6
7PR = "r10" 7PR = "r11"
8 8
9SRC_URI = "http://download.berlios.de/tslib/tslib-1.0.tar.bz2 \ 9SRC_URI = "http://download.berlios.de/tslib/tslib-1.0.tar.bz2 \
10 file://fix_version.patch;patch=1 \ 10 file://fix_version.patch;patch=1 \