7665b58709
Disable wayland support (only needed for the interactive-wayland test program). This fixes a compile failure in case wayland support is autodetected: GEN xdg-shell-unstable-v5-protocol.c /bin/sh: /usr/bin/wayland-scanner: No such file or directory Makefile:2426: recipe for target 'xdg-shell-unstable-v5-protocol.c' failed make[3]: *** [xdg-shell-unstable-v5-protocol.c] Error 127 make[3]: *** Waiting for unfinished jobs.... GEN xdg-shell-unstable-v5-client-protocol.h /bin/sh: /usr/bin/wayland-scanner: No such file or directory Makefile:2428: recipe for target 'xdg-shell-unstable-v5-client-protocol.h' failed make[3]: *** [xdg-shell-unstable-v5-client-protocol.h] Error 127 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
26 lines
790 B
Makefile
26 lines
790 B
Makefile
################################################################################
|
|
#
|
|
# libxkbcommon
|
|
#
|
|
################################################################################
|
|
|
|
LIBXKBCOMMON_VERSION = 0.7.1
|
|
LIBXKBCOMMON_SITE = http://xkbcommon.org/download
|
|
LIBXKBCOMMON_SOURCE = libxkbcommon-$(LIBXKBCOMMON_VERSION).tar.xz
|
|
LIBXKBCOMMON_LICENSE = MIT/X11
|
|
LIBXKBCOMMON_LICENSE_FILES = LICENSE
|
|
LIBXKBCOMMON_INSTALL_STAGING = YES
|
|
LIBXKBCOMMON_DEPENDENCIES = host-bison host-flex
|
|
LIBXKBCOMMON_CONF_OPTS = --disable-wayland
|
|
# uses C99 features
|
|
LIBXKBCOMMON_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
|
|
|
|
ifeq ($(BR2_PACKAGE_XORG7),y)
|
|
LIBXKBCOMMON_CONF_OPTS += --enable-x11
|
|
LIBXKBCOMMON_DEPENDENCIES += libxcb
|
|
else
|
|
LIBXKBCOMMON_CONF_OPTS += --disable-x11
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|