aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2017-12-20 19:25:50 -0500
committerScott Murray <scott.murray@konsulko.com>2017-12-20 19:55:06 -0500
commit6a216fe38fee5342043d7b784075c67469ed42c5 (patch)
tree5a68a8045f87f431899bc383ecc8eba8e07288c3
parent7c4c88192f1223a69ffd6fa9675ff81fe2f86454 (diff)
agl-service-mediaplayer: enable 4A support if configured
Pass flag down to CMake if 4A is enabled in DISTRO_FEATURES. Change-Id: I84a96c2d2360b2662f4da137e4e1f8e992e6b6be Signed-off-by: Scott Murray <scott.murray@konsulko.com>
-rw-r--r--recipes-demo-hmi/agl-service-mediaplayer/agl-service-mediaplayer_git.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-demo-hmi/agl-service-mediaplayer/agl-service-mediaplayer_git.bb b/recipes-demo-hmi/agl-service-mediaplayer/agl-service-mediaplayer_git.bb
index c5cf71c12..d4da7f2e6 100644
--- a/recipes-demo-hmi/agl-service-mediaplayer/agl-service-mediaplayer_git.bb
+++ b/recipes-demo-hmi/agl-service-mediaplayer/agl-service-mediaplayer_git.bb
@@ -16,3 +16,5 @@ DEPENDS = "json-c gstreamer1.0 gstreamer1.0-plugins-base"
RDEPENDS_${PN} = "agl-service-mediascanner gstreamer1.0-plugins-bad-waylandsink"
inherit cmake aglwgt pkgconfig
+
+EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES', 'agl-audio-4a-framework', '-DHAVE_4A_FRAMEWORK=1' , '', d)}"