aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/cogl/cogl-1.0_%.bbappend
blob: f77581dfb7627c705e8c696d8b633fe9cf6eda5a (plain)
1
2
3
4
5
6
7
8
9
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)}"