[oe] [PATCH 01/15] tslib: adjust various recipe settings for the palmpre machine

Simon Busch morphis at gravedo.de
Mon Oct 18 18:51:10 UTC 2010


* set PACKAGE_ARCH = "${MACHINE_ARCH}" for palmpre machine
* provide special EXTRA_CONF setting to build plugin for the cy8mrln touchscreen

Signed-off-by: Simon Busch <morphis at gravedo.de>
---
 recipes/tslib/tslib.inc    |    2 ++
 recipes/tslib/tslib_git.bb |   15 +++++++++++++++
 2 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/recipes/tslib/tslib.inc b/recipes/tslib/tslib.inc
index a8b8e45..4c4cda1 100644
--- a/recipes/tslib/tslib.inc
+++ b/recipes/tslib/tslib.inc
@@ -46,6 +46,8 @@ RPROVIDES_tslib-conf = "libts-0.0-conf"
 
 # Machines with machine specific patches
 PACKAGE_ARCH_mnci = "${MACHINE_ARCH}"
+PACKAGE_ARCH_palmpre = "${MACHINE_ARCH}"
+
 # Machines with machine specific config files (tslib.sh)
 PACKAGE_ARCH_tslib-conf_a780 = "${MACHINE_ARCH}"
 PACKAGE_ARCH_tslib-conf_collie = "${MACHINE_ARCH}"
diff --git a/recipes/tslib/tslib_git.bb b/recipes/tslib/tslib_git.bb
index 1d79061..63e6645 100644
--- a/recipes/tslib/tslib_git.bb
+++ b/recipes/tslib/tslib_git.bb
@@ -6,4 +6,19 @@ PR = "${INC_PR}.1"
 
 DEFAULT_PREFERENCE = "-1"
 
+# move this to tslib.inc when upstream releases a new version which includes support for
+# the palmpre machine
+EXTRA_OECONF_palmpre = " \
+   --enable-shared \
+   --enable-cy8mrln-palmpre \
+   --enable-input \
+   --disable-h3600 \
+   --disable-corgi \
+   --disable-collie \
+   --disable-mk712 \
+   --disable-artic2 \
+   --disable-ucb1x00 \
+   --disable-tatung \
+"
+
 include tslib.inc
-- 
1.7.1





More information about the Openembedded-devel mailing list