Add buildroot 2018-02

This commit is contained in:
Pascal Vizeli
2018-03-17 23:47:00 +00:00
parent 3776c47f83
commit 67742041ad
10007 changed files with 405098 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
config BR2_PACKAGE_LIBGPIOD
bool "libgpiod"
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8
help
This is a C library that abstracts the GPIO character
device operations on linux.
https://github.com/brgl/libgpiod
if BR2_PACKAGE_LIBGPIOD
config BR2_PACKAGE_LIBGPIOD_TOOLS
bool "install tools"
help
Include a set of command-line tools for managing GPIOs.
endif
comment "libgpiod needs kernel headers >= 4.8"
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8

View File

@@ -0,0 +1,4 @@
# From https://www.kernel.org/pub/software/libs/libgpiod/sha256sums.asc
sha256 50c7862428ca90b58672e2475aea66d33a6fc86c6bab1928c0660f3aedf44a37 libgpiod-0.3.2.tar.xz
# Hash for license file
sha256 ce64d5f7b49ea6d80fdb6d4cdee6839d1a94274f7493dc797c3b55b65ec8e9ed COPYING

View File

@@ -0,0 +1,22 @@
################################################################################
#
# 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))