aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics/libsdl2/libsdl2_%.bbappend
blob: 303ea63a7cf235d4827c35b2b85da1066a439f78 (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_OECONF_append_imxgpu2d = " --disable-video-vivante"

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