2017-01-19 13:01:49 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libgpiod
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-01-25 11:59:02 +01:00
|
|
|
LIBGPIOD_VERSION = v0.1.1
|
2017-01-19 13:01:49 +01:00
|
|
|
LIBGPIOD_SITE = $(call github,brgl,libgpiod,$(LIBGPIOD_VERSION))
|
|
|
|
LIBGPIOD_LICENSE = GPLv3+
|
|
|
|
LIBGPIOD_LICENSE_FILES = COPYING
|
|
|
|
# fetched from github, no configure script provided
|
|
|
|
LIBGPIOD_AUTORECONF = YES
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBGPIOD_TOOLS),y)
|
|
|
|
LIBGPIOD_CONF_OPTS += --enable-tools
|
|
|
|
else
|
|
|
|
LIBGPIOD_CONF_OPTS += --disable-tools
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|