summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorJosep Puigdemont <josep.puigdemont@enea.com>2015-09-02 16:55:59 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-02 23:47:38 +0100
commit060202cbfba0643cc4828bbc3d8099564578c584 (patch)
tree13598eac1d3037a70185eb49095d142916037b7c /meta/recipes-devtools
parent4770a766389b94ddd5639d7a92e196abac38da22 (diff)
downloadopenembedded-core-060202cbfba0643cc4828bbc3d8099564578c584.tar.gz
openembedded-core-060202cbfba0643cc4828bbc3d8099564578c584.tar.bz2
openembedded-core-060202cbfba0643cc4828bbc3d8099564578c584.zip
qemu: enable alsa only if in DISTRO_FEATURES
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index d7457f2085..dc7b628d6d 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"