From 060202cbfba0643cc4828bbc3d8099564578c584 Mon Sep 17 00:00:00 2001 From: Josep Puigdemont Date: Wed, 2 Sep 2015 16:55:59 +0200 Subject: qemu: enable alsa only if in DISTRO_FEATURES Signed-off-by: Josep Puigdemont Signed-off-by: Richard Purdie --- meta/recipes-devtools/qemu/qemu.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'meta/recipes-devtools') 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" -- cgit v1.2.3