078091b867
Bug fix release: - correctly handle signal interrupts when polling in gpiod_simple_event_loop() - fix the linking order when building with static libraries - pass the correct consumer string to gpiod_simple_get_value_multiple() in gpioget - fix a line test case: don't use open-drain or open-source flags for input mode - fix the flags passed to ar in order to supress a build warning - set the last error code in gpiod_chip_open_by_label() to ENOENT if a chip can't be found Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
23 lines
610 B
Makefile
23 lines
610 B
Makefile
################################################################################
|
|
#
|
|
# libgpiod
|
|
#
|
|
################################################################################
|
|
|
|
LIBGPIOD_VERSION = 0.3.2
|
|
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))
|