diff options
Diffstat (limited to 'recipes-graphics/cogl/cogl-1.0_%.bbappend')
-rw-r--r-- | recipes-graphics/cogl/cogl-1.0_%.bbappend | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-graphics/cogl/cogl-1.0_%.bbappend b/recipes-graphics/cogl/cogl-1.0_%.bbappend new file mode 100644 index 00000000..f77581df --- /dev/null +++ b/recipes-graphics/cogl/cogl-1.0_%.bbappend @@ -0,0 +1,10 @@ +# Provide the need flags and backend settings to work with Vivante GPU +CFLAGS_append_mx6 = " -DLINUX \ + ${@base_contains('DISTRO_FEATURES', 'x11', '', \ + base_contains('DISTRO_FEATURES', 'wayland', \ + '-DEGL_API_WL -DEGL_API_FB', '', d), d)}" + +PACKAGECONFIG_mx6 ??= "cogl-pango gles2 \ + ${@base_contains('DISTRO_FEATURES', 'x11', 'egl-x11', \ + base_contains('DISTRO_FEATURES', 'wayland', \ + 'egl-wayland', '', d), d)}" |