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 | poky-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.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 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | TSLIB_TSDEVICE=/dev/input/touchscreen0 | 3 | if [ -e /dev/input/touchscreen0 ]; then |
4 | TSLIB_TSDEVICE=/dev/input/touchscreen0 | ||
4 | 5 | ||
5 | export TSLIB_TSDEVICE | 6 | export TSLIB_TSDEVICE |
7 | fi | ||
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." | |||
4 | SECTION = "base" | 4 | SECTION = "base" |
5 | LICENSE = "LGPL" | 5 | LICENSE = "LGPL" |
6 | 6 | ||
7 | PR = "r10" | 7 | PR = "r11" |
8 | 8 | ||
9 | SRC_URI = "http://download.berlios.de/tslib/tslib-1.0.tar.bz2 \ | 9 | SRC_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 \ |