aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2011-09-03 22:22:43 +0400
committerPaul Eggleton <paul.eggleton@linux.intel.com>2014-03-04 23:57:26 +0000
commit0027e9501ec5f1436bf525acdc58fedd936345c9 (patch)
tree49866d3e1d2bd29c999bfada9282f2a0228ce5f1 /recipes-bsp
parentb621fdcd84892d15879298d97a85a89f825f9824 (diff)
downloadmeta-handheld-0027e9501ec5f1436bf525acdc58fedd936345c9.tar.gz
meta-handheld-0027e9501ec5f1436bf525acdc58fedd936345c9.tar.bz2
meta-handheld-0027e9501ec5f1436bf525acdc58fedd936345c9.zip
zaurusd: enable support for collie
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/zaurusd/zaurusd/0001-zaurusd-add-support-for-collie.patch50
-rw-r--r--recipes-bsp/zaurusd/zaurusd_git.bb3
2 files changed, 52 insertions, 1 deletions
diff --git a/recipes-bsp/zaurusd/zaurusd/0001-zaurusd-add-support-for-collie.patch b/recipes-bsp/zaurusd/zaurusd/0001-zaurusd-add-support-for-collie.patch
new file mode 100644
index 0000000..36ded13
--- /dev/null
+++ b/recipes-bsp/zaurusd/zaurusd/0001-zaurusd-add-support-for-collie.patch
@@ -0,0 +1,50 @@
+From 85b94bed1feab70bc529a59fb80c26da825b9abe Mon Sep 17 00:00:00 2001
+From: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
+Date: Fri, 5 Aug 2011 16:00:10 +0400
+Subject: [PATCH] zaurusd: add support for collie
+Upstream-Status: Pending
+
+Note: alsa mixer support is disabled, as collie doesn't support sound (yet).
+
+Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
+---
+ config/mach-config/mach-collie-functions | 4 ++++
+ config/mach-config/mach-collie-vars.in | 3 +++
+ configure.ac | 1 +
+ 3 files changed, 8 insertions(+), 0 deletions(-)
+ create mode 100644 config/mach-config/mach-collie-functions
+ create mode 100644 config/mach-config/mach-collie-vars.in
+
+diff --git a/config/mach-config/mach-collie-functions b/config/mach-config/mach-collie-functions
+new file mode 100644
+index 0000000..4d77c53
+--- /dev/null
++++ b/config/mach-config/mach-collie-functions
+@@ -0,0 +1,4 @@
++HAVE_INPUT_SWITCHES=0
++HAVE_TSKEYS=0
++HAVE_ALSA_MIXER=0
++
+diff --git a/config/mach-config/mach-collie-vars.in b/config/mach-config/mach-collie-vars.in
+new file mode 100644
+index 0000000..ec1bfb8
+--- /dev/null
++++ b/config/mach-config/mach-collie-vars.in
+@@ -0,0 +1,3 @@
++MACHINE=collie
++
++ALSA_MIXER_INIT=@appconfdir@/alsa/5500-default.state
+diff --git a/configure.ac b/configure.ac
+index 78ea2ae..5160fab 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -65,6 +65,7 @@ AC_CONFIG_FILES([
+ config/config
+ config/mach-config/mach-akita-vars
+ config/mach-config/mach-borzoi-vars
++ config/mach-config/mach-collie-vars
+ config/mach-config/mach-corgi-vars
+ config/mach-config/mach-husky-vars
+ config/mach-config/mach-poodle-vars
+--
+1.7.2.5
diff --git a/recipes-bsp/zaurusd/zaurusd_git.bb b/recipes-bsp/zaurusd/zaurusd_git.bb
index 468b8f2..9eb8b1a 100644
--- a/recipes-bsp/zaurusd/zaurusd_git.bb
+++ b/recipes-bsp/zaurusd/zaurusd_git.bb
@@ -22,7 +22,8 @@ SRC_URI = "git://git.yoctoproject.org/${BPN} \
file://zaurus-hinge.bl-off \
file://01-check-toggle-landscape \
file://01-check-toggle-portait \
- file://use-ts-symlink-instead-of-hardcoding.diff "
+ file://use-ts-symlink-instead-of-hardcoding.diff \
+ file://0001-zaurusd-add-support-for-collie.patch"
S = "${WORKDIR}/git"