summaryrefslogtreecommitdiff
path: root/packages/tslib
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-08-22 10:30:30 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-22 10:30:30 +0000
commita1392aaa1d146d105ebf7a6528b91d5746dc0b89 (patch)
tree544be87e85beb17b818921c5ee851ca7c0c87863 /packages/tslib
parenta98fc361734009b592044b9b73dfdce3f20caebd (diff)
add support for the Sharp SL-C3100 (Borzoi)
Diffstat (limited to 'packages/tslib')
-rw-r--r--packages/tslib/tslib/borzoi/.mtn2git_empty0
-rw-r--r--packages/tslib/tslib/borzoi/tslib.sh16
-rw-r--r--packages/tslib/tslib_cvs.bb2
3 files changed, 17 insertions, 1 deletions
diff --git a/packages/tslib/tslib/borzoi/.mtn2git_empty b/packages/tslib/tslib/borzoi/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/tslib/tslib/borzoi/.mtn2git_empty
diff --git a/packages/tslib/tslib/borzoi/tslib.sh b/packages/tslib/tslib/borzoi/tslib.sh
new file mode 100644
index 0000000000..dc7484cada
--- /dev/null
+++ b/packages/tslib/tslib/borzoi/tslib.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+case `uname -r` in
+2.4*)
+ TSLIB_TSDEVICE=/dev/ts
+ TSLIB_TSEVENTTYPE=CORGI
+ TSLIB_CONFFILE=/usr/share/tslib/ts.conf-corgi-2.4
+ ;;
+*)
+ TSLIB_TSDEVICE=/dev/input/event1
+ TSLIB_TSEVENTTYPE=INPUT
+ TSLIB_CONFFILE=/usr/share/tslib/ts.conf-corgi
+ ;;
+esac
+
+export TSLIB_TSDEVICE TSLIB_TSEVENTTYPE TSLIB_CONFFILE
diff --git a/packages/tslib/tslib_cvs.bb b/packages/tslib/tslib_cvs.bb
index 6f49bbbf24..80fd8f2966 100644
--- a/packages/tslib/tslib_cvs.bb
+++ b/packages/tslib/tslib_cvs.bb
@@ -46,7 +46,7 @@ do_install_append() {
done
rm -f ${D}${sysconfdir}/ts.conf
;;
- c7x0 | spitz | akita | tosa)
+ c7x0 | spitz | akita | tosa | borzoi )
install -d ${D}${datadir}/tslib
for f in ts.conf-corgi ts.conf-corgi-2.4; do
install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/