summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-08-01 11:35:44 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-01 11:35:44 +0000
commit71e94a548141b31a836788f416c0f5c3c9832267 (patch)
tree79c4f95aeed6bd3ab0d6cf228e3d42141ba08386
parent67d1dd593014886b563b8dbb07439ef02383f623 (diff)
Add support for ipaq-pxa270
-rw-r--r--packages/tslib/tslib/ipaq-pxa270/.mtn2git_empty0
-rw-r--r--packages/tslib/tslib/ipaq-pxa270/tslib.sh6
-rw-r--r--packages/tslib/tslib_cvs.bb2
3 files changed, 7 insertions, 1 deletions
diff --git a/packages/tslib/tslib/ipaq-pxa270/.mtn2git_empty b/packages/tslib/tslib/ipaq-pxa270/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/tslib/tslib/ipaq-pxa270/.mtn2git_empty
diff --git a/packages/tslib/tslib/ipaq-pxa270/tslib.sh b/packages/tslib/tslib/ipaq-pxa270/tslib.sh
new file mode 100644
index 0000000000..72ebcba7c2
--- /dev/null
+++ b/packages/tslib/tslib/ipaq-pxa270/tslib.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+TSLIB_TSDEVICE=`detect-stylus --device`
+TSLIB_CONFFILE=/usr/share/tslib/ts.conf-h3600
+
+export TSLIB_TSDEVICE TSLIB_CONFFILE
diff --git a/packages/tslib/tslib_cvs.bb b/packages/tslib/tslib_cvs.bb
index b5d073c8e7..535ff89ee4 100644
--- a/packages/tslib/tslib_cvs.bb
+++ b/packages/tslib/tslib_cvs.bb
@@ -40,7 +40,7 @@ do_install_append() {
install -d ${D}${sysconfdir}/profile.d/
install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/
case ${MACHINE} in
- h3600 | h3900 | h1940)
+ h3600 | h3900 | h1940 | ipaq-pxa270)
install -d ${D}${datadir}/tslib
for f in ts.conf-h3600 ts.conf-h3600-2.4 ts.conf-h2200; do
install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/