797de283c7
Fixes: http://autobuild.buildroot.net/results/476/47665d417dbae76bf27e805a5bcb1d8d6ab1f445/ xwayland unconditionally includes xf86drm.h, so libdrm is required and not optional: grep -rs xf86drm.h glamor/glamor_egl.c:#include <xf86drm.h> hw/xwayland/xwayland-glamor.h:#include <xf86drm.h> hw/xwayland/xwayland-glamor-eglstream.c:#include <xf86drm.h> hw/xwayland/xwayland-window.h:#include <xf86drm.h> hw/xwayland/xwayland-drm-lease.c:#include <xf86drm.h> hw/xwayland/xwayland-glamor-gbm.c:#include <xf86drm.h> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
config BR2_PACKAGE_XWAYLAND
|
|
bool "xwayland server"
|
|
depends on BR2_USE_MMU # fork()
|
|
depends on !BR2_STATIC_LIBS # wayland
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # wayland
|
|
# We need a SHA1 implementation. If either openssl or
|
|
# libgcrypt are already part of the build, we'll use one of
|
|
# them, otherwise, use the small libsha1 library.
|
|
depends on !BR2_RISCV_32 # xlib_libxshmfence
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 # xlib_libxshmfence
|
|
select BR2_PACKAGE_LIBDRM
|
|
select BR2_PACKAGE_LIBSHA1 if (!BR2_PACKAGE_OPENSSL && !BR2_PACKAGE_LIBGCRYPT)
|
|
select BR2_PACKAGE_PIXMAN
|
|
select BR2_PACKAGE_WAYLAND
|
|
select BR2_PACKAGE_WAYLAND_PROTOCOLS
|
|
select BR2_PACKAGE_XLIB_LIBXCVT
|
|
select BR2_PACKAGE_XLIB_LIBXFONT2
|
|
select BR2_PACKAGE_XLIB_LIBXKBFILE
|
|
select BR2_PACKAGE_XLIB_LIBXRANDR
|
|
select BR2_PACKAGE_XLIB_LIBXSHMFENCE
|
|
select BR2_PACKAGE_XLIB_XTRANS
|
|
select BR2_PACKAGE_XORGPROTO
|
|
help
|
|
X.Org X server to run X clients under wayland
|
|
|
|
http://xorg.freedesktop.org
|
|
|
|
comment "xwayland needs a toolchain w/ threads, dynamic library"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_RISCV_32
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|