[meta-intel] [PATCH 3/9] meta-intel.inc: a machine feature for pulseaudio sound server

nitin.a.kamble at intel.com nitin.a.kamble at intel.com
Mon Dec 15 14:25:55 PST 2014


From: Nitin A Kamble <nitin.a.kamble at intel.com>

Adding a new machine feature for pulseaudio sound server support in the BSPs.

Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
---
 README                              | 8 ++++++++
 conf/machine/include/meta-intel.inc | 3 +++
 2 files changed, 11 insertions(+)

diff --git a/README b/README
index 75dc30e..e64cabe 100644
--- a/README
+++ b/README
@@ -118,6 +118,7 @@ Currently, the meta-intel layer makes the following set of
 Intel-specific machine features available:
 
   * intel-ucode
+  * pulseaudio
 
 These machine features can be included by listing them in the
 MACHINE_FEATURES variable in the machine configuration file.  For
@@ -194,3 +195,10 @@ Machine feature details
        highly sensitive to target image size and which are not
        experiencing microcode-related issues might consider not
        enabling this feature.
+
+
+ * pulseaudio
+    This feature enables the support for pulseaudio sound server and related
+    utilities in the target image. The pulseaudio sound server enables
+    mulitple audio streams for the audio device. It also detects the sound
+    hardware automatically.
diff --git a/conf/machine/include/meta-intel.inc b/conf/machine/include/meta-intel.inc
index a3e1972..1c6c09d 100644
--- a/conf/machine/include/meta-intel.inc
+++ b/conf/machine/include/meta-intel.inc
@@ -21,6 +21,9 @@ XSERVER_X86_MATROX_MGA = "xf86-video-mga \
 XSERVER_X86_ASPEED_AST = "xf86-video-ast \
            "
 
+# include pulseaudio package if the machine uses the pulseaudio feature
+MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append = "${@bb.utils.contains('MACHINE_FEATURES', 'pulseaudio', ' pulseaudio-server pulseaudio-misc alsa-plugins-pulseaudio', '', d)}"
+
 # include the user space intel microcode loading support in the generated images.
 MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append = "${@bb.utils.contains('MACHINE_FEATURES', 'intel-ucode', ' intel-microcode', '', d)}"
 
-- 
1.8.1.4



More information about the meta-intel mailing list