![Yann E. MORIN](/assets/img/avatar_default.png)
wayland is entirely written in C, except for a single test that is written in C++. Since we are not interested in running the tests on the target, add an option to configure to disable tests altogether. Fixes: http://autobuild.buildroot.org/results/291/291e0f1ea18004190ae5acd9bec147cacc3e4bda/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
31 lines
1 KiB
Makefile
31 lines
1 KiB
Makefile
################################################################################
|
|
#
|
|
# wayland
|
|
#
|
|
################################################################################
|
|
|
|
WAYLAND_VERSION = 1.13.0
|
|
WAYLAND_SITE = http://wayland.freedesktop.org/releases
|
|
WAYLAND_SOURCE = wayland-$(WAYLAND_VERSION).tar.xz
|
|
WAYLAND_LICENSE = MIT
|
|
WAYLAND_LICENSE_FILES = COPYING
|
|
WAYLAND_INSTALL_STAGING = YES
|
|
WAYLAND_DEPENDENCIES = host-pkgconf host-wayland expat libffi libxml2
|
|
HOST_WAYLAND_DEPENDENCIES = host-pkgconf host-expat host-libffi host-libxml2
|
|
|
|
# 0002-configure-add-option-to-disable-tests.patch
|
|
WAYLAND_AUTORECONF = YES
|
|
|
|
# wayland-scanner is only needed for building, not on the target
|
|
WAYLAND_CONF_OPTS = --with-host-scanner --disable-tests
|
|
HOST_WAYLAND_CONF_OPTS = --disable-tests
|
|
|
|
# Remove the DTD from the target, it's not needed at runtime
|
|
define WAYLAND_TARGET_CLEANUP
|
|
rm -rf $(TARGET_DIR)/usr/share/wayland
|
|
endef
|
|
WAYLAND_POST_INSTALL_TARGET_HOOKS += WAYLAND_TARGET_CLEANUP
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|