mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@26c91a9
This commit is contained in:
@@ -5,7 +5,6 @@ comment "weston needs udev and a toolchain w/ locale, threads, dynamic library,
|
||||
|
||||
config BR2_PACKAGE_WESTON
|
||||
bool "weston"
|
||||
depends on BR2_ENABLE_LOCALE # libinput
|
||||
depends on BR2_PACKAGE_HAS_UDEV
|
||||
depends on !BR2_STATIC_LIBS # wayland
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # wayland
|
||||
@@ -21,8 +20,6 @@ config BR2_PACKAGE_WESTON
|
||||
select BR2_PACKAGE_LIBDRM
|
||||
# Runtime dependency
|
||||
select BR2_PACKAGE_XKEYBOARD_CONFIG
|
||||
# Make sure at least one compositor is selected.
|
||||
select BR2_PACKAGE_WESTON_FBDEV if !BR2_PACKAGE_WESTON_HAS_COMPOSITOR
|
||||
help
|
||||
Weston is the reference implementation of a Wayland
|
||||
compositor, and a useful compositor in its own right.
|
||||
@@ -33,18 +30,44 @@ config BR2_PACKAGE_WESTON
|
||||
|
||||
if BR2_PACKAGE_WESTON
|
||||
|
||||
# Helper to make sure at least one compositor is selected.
|
||||
config BR2_PACKAGE_WESTON_HAS_COMPOSITOR
|
||||
bool
|
||||
choice
|
||||
prompt "default compositor"
|
||||
|
||||
config BR2_PACKAGE_WESTON_DEFAULT_FBDEV
|
||||
bool "fbdev"
|
||||
select BR2_PACKAGE_WESTON_FBDEV
|
||||
|
||||
config BR2_PACKAGE_WESTON_DEFAULT_DRM
|
||||
bool "drm"
|
||||
depends on BR2_PACKAGE_MESA3D_OPENGL_EGL || BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL
|
||||
select BR2_PACKAGE_WESTON_DRM
|
||||
|
||||
comment "drm backend needs mesa3d w/ EGL driver"
|
||||
depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL && !BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL
|
||||
|
||||
config BR2_PACKAGE_WESTON_DEFAULT_X11
|
||||
bool "X11"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_WESTON_X11
|
||||
|
||||
comment "X11 backend needs X.org"
|
||||
depends on !BR2_PACKAGE_XORG7
|
||||
|
||||
endchoice
|
||||
|
||||
config BR2_PACKAGE_WESTON_DEFAULT_COMPOSITOR
|
||||
string
|
||||
default "fbdev" if BR2_PACKAGE_WESTON_DEFAULT_FBDEV
|
||||
default "drm" if BR2_PACKAGE_WESTON_DEFAULT_DRM
|
||||
default "x11" if BR2_PACKAGE_WESTON_DEFAULT_X11
|
||||
|
||||
config BR2_PACKAGE_WESTON_DRM
|
||||
bool "DRM compositor"
|
||||
depends on BR2_PACKAGE_MESA3D_OPENGL_EGL
|
||||
select BR2_PACKAGE_WESTON_HAS_COMPOSITOR
|
||||
depends on BR2_PACKAGE_MESA3D_OPENGL_EGL || BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL
|
||||
|
||||
# Uses libgbm from mesa3d
|
||||
comment "DRM compositor needs an OpenGL EGL backend provided by mesa3d"
|
||||
depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL
|
||||
depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL && !BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL
|
||||
|
||||
config BR2_PACKAGE_WESTON_FBDEV
|
||||
bool "fbdev compositor"
|
||||
@@ -57,7 +80,6 @@ config BR2_PACKAGE_WESTON_RDP
|
||||
depends on BR2_USE_WCHAR # freerdp
|
||||
depends on BR2_INSTALL_LIBSTDCPP # freerdp
|
||||
select BR2_PACKAGE_FREERDP
|
||||
select BR2_PACKAGE_WESTON_HAS_COMPOSITOR
|
||||
help
|
||||
This enables the RDP backend, which allows accessing weston
|
||||
through the network with any RDP-compliant client.
|
||||
@@ -81,7 +103,6 @@ config BR2_PACKAGE_WESTON_X11
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_LIBXCB
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
select BR2_PACKAGE_WESTON_HAS_COMPOSITOR
|
||||
|
||||
comment "X11 compositor needs X.org enabled"
|
||||
depends on !BR2_PACKAGE_XORG7
|
||||
@@ -100,7 +121,22 @@ comment "XWayland support needs libepoxy and X.org enabled"
|
||||
|
||||
config BR2_PACKAGE_WESTON_DEMO_CLIENTS
|
||||
bool "demo clients"
|
||||
depends on BR2_USE_MMU # pango
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango
|
||||
depends on BR2_INSTALL_LIBSTDCPP # pango
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # pango
|
||||
depends on BR2_USE_WCHAR # pango
|
||||
depends on BR2_PACKAGE_HAS_LIBGLES
|
||||
depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND
|
||||
select BR2_PACKAGE_PANGO
|
||||
help
|
||||
This enables the installation of Weston's demo clients.
|
||||
|
||||
comment "demo clients needs an OpenGL ES provider, an OpenEGL-capable Wayland backend and a toolchain w/ wchar, threads, C++"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_USE_WCHAR || !BR2_PACKAGE_HAS_LIBGLES || \
|
||||
!BR2_PACKAGE_HAS_LIBEGL_WAYLAND
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user