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
This commit is contained in:
Richard Purdie 2008-02-14 21:17:32 +00:00
parent 838c47ce6c
commit 32a4e06db5
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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 \