aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/libsdl2/libsdl2_%.bbappend
blob: 3b2655ce79c98846869414f09be4c96302343e14 (plain)
1
2
3
4
5
6
7
8
# what vivante driver does libsdl2 mean? Anyway it fails with missing functions as
# VIVANTE_Create VIVANTE_GLES_GetProcAddress VIVANTE_GLES_UnloadLibrary ...
EXTRA_OECMAKE:append:imxgpu = " -DSDL_VIVANTE=OFF"

CFLAGS:append:imxgpu = " -DLINUX \
    ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_API_FB', d)} \
    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '-DWL_EGL_PLATFORM', '', d)} \
"