qemu: enable alsa only if in DISTRO_FEATURES

(From OE-Core rev: 060202cbfba0643cc4828bbc3d8099564578c584)

Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Josep Puigdemont 2015-09-02 16:55:59 +02:00 committed by Richard Purdie
parent 097f36f636
commit 4287e5eca5
1 changed files with 2 additions and 1 deletions

View 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"