Add support for ipaq-pxa270
authorKoen Kooi <koen@openembedded.org>
Mon, 1 Aug 2005 11:35:44 +0000 (11:35 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 1 Aug 2005 11:35:44 +0000 (11:35 +0000)
packages/tslib/tslib/ipaq-pxa270/.mtn2git_empty [new file with mode: 0644]
packages/tslib/tslib/ipaq-pxa270/tslib.sh [new file with mode: 0644]
packages/tslib/tslib_cvs.bb

diff --git a/packages/tslib/tslib/ipaq-pxa270/.mtn2git_empty b/packages/tslib/tslib/ipaq-pxa270/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/tslib/tslib/ipaq-pxa270/tslib.sh b/packages/tslib/tslib/ipaq-pxa270/tslib.sh
new file mode 100644 (file)
index 0000000..72ebcba
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+TSLIB_TSDEVICE=`detect-stylus --device`
+TSLIB_CONFFILE=/usr/share/tslib/ts.conf-h3600
+
+export TSLIB_TSDEVICE TSLIB_CONFFILE
index b5d073c..535ff89 100644 (file)
@@ -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/