[OE-core] [PATCH] qemu: enable alsa only if in DISTRO_FEATURES
Josep Puigdemont
josep.puigdemont at enea.com
Wed Sep 2 14:55:59 UTC 2015
Signed-off-by: Josep Puigdemont <josep.puigdemont at enea.com>
---
meta/recipes-devtools/qemu/qemu.inc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index d7457f2..dc7b628 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -94,7 +94,8 @@ do_install_append() {
# END of qemu-mips workaround
PACKAGECONFIG ??= " \
- fdt sdl alsa \
+ fdt sdl \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'xen', 'xen', '', d)} \
"
PACKAGECONFIG_class-native ??= "fdt alsa uuid"
--
2.1.0
More information about the Openembedded-core
mailing list