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>
(cherry picked from commit
5746146e5a42821fb95d39af36b0e7e07c45b79d)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12601
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 \