buildroot/package/libgpiod/Config.in
Bartosz Golaszewski f3940282c0 libgpiod: new package
Add a package containing a C library and a set of command-line tools
for controlling GPIOs from user space using the new character device
interface on linux.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
[Thomas:
 - add comment about autoreconf=yes (suggested by Romain Naour)
 - add more conventional syntax for the --{enable,disable}-tools usage
   (suggested by Romain Naour)
 - add patch to fix musl build.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-01-23 21:22:35 +13:00

21 lines
473 B
Plaintext

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