diff options
author | Richard Purdie <richard@openedhand.com> | 2008-02-14 21:17:32 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-02-14 21:17:32 +0000 |
commit | 32a4e06db5408740e7d8f643adb8d2dffb3abd9e (patch) | |
tree | 400170fafa9d198b57019013059aea7b902e588e /meta/packages/tslib | |
parent | 838c47ce6c1f49c16505fe658508a4df90c347fe (diff) | |
download | openembedded-core-32a4e06db5408740e7d8f643adb8d2dffb3abd9e.tar.gz openembedded-core-32a4e06db5408740e7d8f643adb8d2dffb3abd9e.tar.bz2 openembedded-core-32a4e06db5408740e7d8f643adb8d2dffb3abd9e.zip |
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.sh | 6 | ||||
-rw-r--r-- | meta/packages/tslib/tslib_1.0.bb | 2 |
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 @@ #!/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 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." 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 \ |