diff options
author | Phil Blundell <philb@gnu.org> | 2005-02-06 14:20:28 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2005-02-06 14:20:28 +0000 |
commit | 49c0d45f62923957abffa93e4b905a8e37e662fe (patch) | |
tree | 7b6ce41db54ff462f8c5c9c5da81644a2a65e923 /packages/tslib | |
parent | 29ba47ccd3e5846de5616ad82dce1534707d3266 (diff) |
fiddle tslib to support both 2.4 and 2.6 kernels on h3600/h3900
BKrev: 420627aczLxJ-tN4kKDD6TzxTKcVSg
Diffstat (limited to 'packages/tslib')
-rw-r--r-- | packages/tslib/tslib_cvs.bb | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/packages/tslib/tslib_cvs.bb b/packages/tslib/tslib_cvs.bb index 611719adc7..060a56bc8f 100644 --- a/packages/tslib/tslib_cvs.bb +++ b/packages/tslib/tslib_cvs.bb @@ -1,7 +1,7 @@ SECTION = "base" DESCRIPTION = "tslib is a touchscreen access library." PV = "0.0cvs${CVSDATE}" -PR = "r11" +PR = "r12" SRC_URI_OVERRIDES_PACKAGE_ARCH = "0" PACKAGE_ARCH_tslib-conf = "${MACHINE}" @@ -9,6 +9,7 @@ PACKAGE_ARCH_ramses = "${MACHINE}" SRC_URI = "cvs://cvs:@pubcvs.arm.linux.org.uk/mnt/src/cvsroot;module=tslib \ file://ts.conf \ + file://ts.conf-h3600 file://ts.conf-h3600-2.4 \ file://tslib.sh \ file://initialize_djs.patch;patch=1 \ file://visibility.patch;patch=1" @@ -39,11 +40,22 @@ do_install_prepend () { do_install_append() { install -d ${D}/${sysconfdir}/profile.d/ install -m 0755 ${WORKDIR}/tslib.sh ${D}/${sysconfdir}/profile.d/ + case ${MACHINE} in + h3600 | h3900) + install -d ${D}${datadir}/tslib + for f in ts.conf-h3600 ts.conf-h3600-2.4; do + install -m 0644 ${WORKDIR}/$f ${D}${datadir}/tslib/ + done + rm -f ${D}${sysconfdir}/ts.conf + ;; + *) + ;; + esac } RDEPENDS_libts = "tslib-conf" -FILES_tslib-conf = "${sysconfdir}/ts.conf ${sysconfdir}/profile.d/tslib.sh" +FILES_tslib-conf = "${sysconfdir}/ts.conf ${sysconfdir}/profile.d/tslib.sh ${datadir}/tslib" FILES_libts = "${libdir}/*.so.* ${libdir}/ts/*.so*" FILES_libts-dev = "${FILES_tslib-dev}" FILES_tslib-calibrate += "${bindir}/ts_calibrate" |