mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00: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
|
#!/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"
|
SECTION = "base"
|
||||||
LICENSE = "LGPL"
|
LICENSE = "LGPL"
|
||||||
|
|
||||||
PR = "r10"
|
PR = "r11"
|
||||||
|
|
||||||
SRC_URI = "http://download.berlios.de/tslib/tslib-1.0.tar.bz2 \
|
SRC_URI = "http://download.berlios.de/tslib/tslib-1.0.tar.bz2 \
|
||||||
file://fix_version.patch;patch=1 \
|
file://fix_version.patch;patch=1 \
|
||||||
|
|||||||
Reference in New Issue
Block a user