4A: don't pull agl-audio-plugin when 4A is enabled 45/12245/2
authorStephane Desneux <stephane.desneux@iot.bzh>
Thu, 30 Nov 2017 17:43:15 +0000 (18:43 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Sun, 10 Dec 2017 11:59:14 +0000 (11:59 +0000)
When agl-audio-4a-framework feature is enabled at aglsetup time, 4A audio
is enabled and legacy agl-audio-plugin used with GENIVI AudioManager must
not be pulled in images.

Change-Id: I23ff0ced9eff184718b47219e80f1f51db8b9fb8
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12245
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
meta-ivi-common/recipes-core/packagegroups/packagegroup-ivi-common-core-multimedia.bb

index 58b8f38..602d247 100644 (file)
@@ -12,7 +12,7 @@ PACKAGES = "\
 ALLOW_EMPTY_${PN} = "1"
 
 RDEPENDS_${PN} += "\
-    agl-audio-plugin \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'agl-audio-4a-framework', '' , 'agl-audio-plugin', d)} \
     alsa-utils \
     pulseaudio-server \
     pulseaudio-misc \