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:
parent
838c47ce6c
commit
32a4e06db5
|
@ -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
|
||||
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue