This allow for version independant matching so we don't need to bump
it every time OE-Core updates.
This also removes the -DUSE_API_FB for X11 case as X11 cannot use it.
Change-Id: I20eef5c08ee8e6799c5038d5aa3dcd3ba4cb6f3f
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
# Provide the need flags and backend settings to work with Vivante GPU
CFLAGS_append_mx6 = " -DLINUX \
- ${@base_contains('DISTRO_FEATURES', 'x11', '-DEGL_API_FB', \
+ ${@base_contains('DISTRO_FEATURES', 'x11', '', \
base_contains('DISTRO_FEATURES', 'wayland', \
'-DEGL_API_WL', '', d), d)}"