mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-04 00:47:43 +00:00
weston: add DRM compoitor support
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
da34e3e88b
commit
3c2ef71d38
@ -37,6 +37,16 @@ if BR2_PACKAGE_WESTON
|
|||||||
config BR2_PACKAGE_WESTON_HAS_COMPOSITOR
|
config BR2_PACKAGE_WESTON_HAS_COMPOSITOR
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
config BR2_PACKAGE_WESTON_DRM
|
||||||
|
bool "DRM compositor"
|
||||||
|
depends on BR2_PACKAGE_MESA3D_OPENGL_EGL
|
||||||
|
select BR2_PACKAGE_LIBDRM
|
||||||
|
select BR2_PACKAGE_WESTON_HAS_COMPOSITOR
|
||||||
|
|
||||||
|
# Uses libgbm from mesa3d
|
||||||
|
comment "DRM compositor needs an OpenGL EGL backend provided by mesa3d"
|
||||||
|
depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL
|
||||||
|
|
||||||
config BR2_PACKAGE_WESTON_FBDEV
|
config BR2_PACKAGE_WESTON_FBDEV
|
||||||
bool "fbdev compositor"
|
bool "fbdev compositor"
|
||||||
|
|
||||||
|
@ -18,7 +18,6 @@ WESTON_CONF_OPTS = \
|
|||||||
--disable-simple-egl-clients \
|
--disable-simple-egl-clients \
|
||||||
--disable-xwayland \
|
--disable-xwayland \
|
||||||
--disable-x11-compositor \
|
--disable-x11-compositor \
|
||||||
--disable-drm-compositor \
|
|
||||||
--disable-wayland-compositor \
|
--disable-wayland-compositor \
|
||||||
--disable-headless-compositor \
|
--disable-headless-compositor \
|
||||||
--disable-weston-launch \
|
--disable-weston-launch \
|
||||||
@ -56,6 +55,15 @@ else
|
|||||||
WESTON_CONF_OPTS += --disable-fbdev-compositor
|
WESTON_CONF_OPTS += --disable-fbdev-compositor
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_WESTON_DRM),y)
|
||||||
|
WESTON_CONF_OPTS += \
|
||||||
|
--enable-drm-compositor \
|
||||||
|
WESTON_NATIVE_BACKEND=drm-backend.so
|
||||||
|
WESTON_DEPENDENCIES += libdrm
|
||||||
|
else
|
||||||
|
WESTON_CONF_OPTS += --disable-drm-compositor
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_WESTON_RPI),y)
|
ifeq ($(BR2_PACKAGE_WESTON_RPI),y)
|
||||||
WESTON_DEPENDENCIES += rpi-userland
|
WESTON_DEPENDENCIES += rpi-userland
|
||||||
WESTON_CONF_OPTS += --enable-rpi-compositor \
|
WESTON_CONF_OPTS += --enable-rpi-compositor \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user