summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 5221b05b8..7068e8d92 100644
--- a/meta/packages/tslib/tslib/tslib.sh
+++ b/meta/packages/tslib/tslib/tslib.sh
@@ -1,6 +1,8 @@
#!/bin/sh
-TSLIB_TSDEVICE=/dev/input/touchscreen0
+if [ -e /dev/input/touchscreen0 ]; then
+ TSLIB_TSDEVICE=/dev/input/touchscreen0
-export TSLIB_TSDEVICE
+ export TSLIB_TSDEVICE
+fi
diff --git a/meta/packages/tslib/tslib_1.0.bb b/meta/packages/tslib/tslib_1.0.bb
index 6d219a1a8..ad7536681 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."
SECTION = "base"
LICENSE = "LGPL"
-PR = "r10"
+PR = "r11"
SRC_URI = "http://download.berlios.de/tslib/tslib-1.0.tar.bz2 \
file://fix_version.patch;patch=1 \