Bugfix release. From NEWS: - don't implicitly unquote unnamed lines in gpioinfo - remove useless variable in reconfigure example - don't let struct line_config balloon out of control and trigger an OOM - drop python3-config check from configure.ac https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/commit/?id=759d831aa8846a5d007cac250f78d74a514e1ec9 Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Acked-by: Boerge Struempfel <boerge.struempfel@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
34 lines
937 B
Makefile
34 lines
937 B
Makefile
################################################################################
|
|
#
|
|
# libgpiod2
|
|
#
|
|
################################################################################
|
|
|
|
# Be careful when bumping versions.
|
|
# Dependency on kernel header versions may change.
|
|
LIBGPIOD2_VERSION = 2.2.2
|
|
LIBGPIOD2_SOURCE = libgpiod-$(LIBGPIOD2_VERSION).tar.xz
|
|
LIBGPIOD2_SITE = https://www.kernel.org/pub/software/libs/libgpiod
|
|
LIBGPIOD2_LICENSE = LGPL-2.1+
|
|
LIBGPIOD2_LICENSE_FILES = COPYING
|
|
LIBGPIOD2_INSTALL_STAGING = YES
|
|
LIBGPIOD2_DEPENDENCIES = host-pkgconf
|
|
LIBGPIOD2_CONF_OPTS = \
|
|
--disable-bindings-python \
|
|
--disable-examples \
|
|
--disable-tests
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGPIOD2_TOOLS),y)
|
|
LIBGPIOD2_CONF_OPTS += --enable-tools
|
|
else
|
|
LIBGPIOD2_CONF_OPTS += --disable-tools
|
|
endif
|
|
|
|
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
|
|
LIBGPIOD2_CONF_OPTS += --enable-bindings-cxx
|
|
else
|
|
LIBGPIOD2_CONF_OPTS += --disable-bindings-cxx
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|