mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 14:46:31 +00:00
weston: check for both EGL and GLES
The conditional is wrong, it was check for BR2_PACKAGE_MESA3D_OPENGL_ES (correct, means GLESv2 support) and BR2_PACKAGE_MESA3D_OPENGL_GLES (incorrect, there's no such symbol). So now check for BR2_PACKAGE_MESA3D_OPENGL_EGL (EGL support) plus BR2_PACKAGE_MESA3D_OPENGL_ES (GLESv2 support), both are required. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
45db3f4294
commit
1e14605ba8
@ -49,7 +49,7 @@ WESTON_CONF_OPTS += --disable-weston-launch
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# Needs wayland-egl, which normally only mesa provides
|
# Needs wayland-egl, which normally only mesa provides
|
||||||
ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_ES)$(BR2_PACKAGE_MESA3D_OPENGL_GLES),yy)
|
ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL)$(BR2_PACKAGE_MESA3D_OPENGL_ES),yy)
|
||||||
WESTON_CONF_OPTS += --enable-egl
|
WESTON_CONF_OPTS += --enable-egl
|
||||||
WESTON_DEPENDENCIES += libegl
|
WESTON_DEPENDENCIES += libegl
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user