]> code.ossystems Code Review - openembedded-core.git/commitdiff
qemu: enable alsa only if in DISTRO_FEATURES
authorJosep Puigdemont <josep.puigdemont@enea.com>
Wed, 2 Sep 2015 14:55:59 +0000 (16:55 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Sep 2015 22:47:38 +0000 (23:47 +0100)
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/qemu/qemu.inc

index d7457f20852414e4d16f4aa85f14e49251c45cbe..dc7b628d6d8a1a4fef2796e6d9efe9cbb1094b42 100644 (file)
@@ -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"