From 6f6cdd9a46f81fbb8565275ac7fa870a04bda793 Mon Sep 17 00:00:00 2001 From: Tom Hochstein Date: Fri, 18 Nov 2016 19:11:51 -0600 Subject: [PATCH] cogl-1.0: Configure for Wayland backend if wayland and x11 are in distro By i.MX convention, if wayland and x11 are in the distro features, the Wayland backend is used. Signed-off-by: Tom Hochstein Signed-off-by: Otavio Salvador --- recipes-graphics/cogl/cogl-1.0_%.bbappend | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/recipes-graphics/cogl/cogl-1.0_%.bbappend b/recipes-graphics/cogl/cogl-1.0_%.bbappend index 87fd15a4..c150f3ee 100644 --- a/recipes-graphics/cogl/cogl-1.0_%.bbappend +++ b/recipes-graphics/cogl/cogl-1.0_%.bbappend @@ -1,4 +1,5 @@ -PACKAGECONFIG_mx6 ??= "cogl-pango gles2 \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'egl-x11', \ - bb.utils.contains('DISTRO_FEATURES', 'wayland', \ - 'egl-wayland', '', d), d)}" +PACKAGECONFIG_mx6 ??= " \ + cogl-pango gles2 \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'egl-wayland', \ + bb.utils.contains('DISTRO_FEATURES', 'x11', 'egl-x11', \ + '', d), d)}" -- 2.40.1