[oe-commits] Simon Busch : task-base: make it possible for a distro to set it' s alsa-state provider
git version control
git at git.openembedded.org
Mon May 16 20:26:31 UTC 2011
Module: openembedded.git
Branch: master
Commit: f4d615ceefe868dd4687cdb23848028c307ec23b
URL: http://git.openembedded.org/?p=openembedded.git&a=commit;h=f4d615ceefe868dd4687cdb23848028c307ec23b
Author: Simon Busch <morphis at gravedo.de>
Date: Mon May 16 09:53:07 2011 +0200
task-base: make it possible for a distro to set it's alsa-state provider
There different recipes in OE which provides alsa-state. In my case it's alsa-state and
fsoaudiod which conflicts as both are mostly the same. For this I added a
DISTRO_ALSA_STATE variable which each distro can set on it's own the provider of
alsa-state it want to use. The default provider is the alsa-state recipe.
Signed-off-by: Simon Busch <morphis at gravedo.de>
Acked-by: Martin Jansa <Martin.Jansa at gmail.com>
---
recipes/tasks/task-base.bb | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/recipes/tasks/task-base.bb b/recipes/tasks/task-base.bb
index 225258f..fdb0fb5 100644
--- a/recipes/tasks/task-base.bb
+++ b/recipes/tasks/task-base.bb
@@ -1,5 +1,5 @@
DESCRIPTION = "Merge machine and distro options to create a basic machine task/package"
-PR = "r95"
+PR = "r96"
inherit task
@@ -63,6 +63,9 @@ DISTRO_SSH_DAEMON ?= "dropbear"
# Distro can override apm provider
DISTRO_APM ?= "apm"
+# Distro can override alsa-state provider
+DISTRO_ALSA_STATE ?= "alsa-state"
+
#
# bluetooth manager
#
@@ -219,7 +222,7 @@ RDEPENDS_task-base-alsa = "\
# alsa-states are machine related so can be missing in feed, OSS support is optional
#
RRECOMMENDS_task-base-alsa = "\
- alsa-state \
+ ${DISTRO_ALSA_STATE} \
kernel-module-snd-mixer-oss \
kernel-module-snd-pcm-oss"
More information about the Openembedded-commits
mailing list