mirror of
https://git.yoctoproject.org/poky
synced 2026-03-26 04:02:21 +01:00
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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user