f91a2b3772
This is a major update for libgpiod. The API is not compatible with the v0.x.y series but since nothing in current buildroot git depends on this project, I believe we can simply bump the version. The included tools are compatible with their 0.x.y counterparts. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Reviewed-by: Jan Kundrát <jan.kundrat@cesnet.cz> Tested-by: Jan Kundrát <jan.kundrat@cesnet.cz> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
23 lines
608 B
Makefile
23 lines
608 B
Makefile
################################################################################
|
|
#
|
|
# libgpiod
|
|
#
|
|
################################################################################
|
|
|
|
LIBGPIOD_VERSION = 1.0
|
|
LIBGPIOD_SOURCE = libgpiod-$(LIBGPIOD_VERSION).tar.xz
|
|
LIBGPIOD_SITE = https://www.kernel.org/pub/software/libs/libgpiod
|
|
LIBGPIOD_LICENSE = LGPL-2.1+
|
|
LIBGPIOD_LICENSE_FILES = COPYING
|
|
LIBGPIOD_INSTALL_STAGING = YES
|
|
|
|
LIBGPIOD_DEPENDENCIES = host-pkgconf
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGPIOD_TOOLS),y)
|
|
LIBGPIOD_CONF_OPTS += --enable-tools
|
|
else
|
|
LIBGPIOD_CONF_OPTS += --disable-tools
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|