linuxOS_D21X/package/third-party/libgpiod/Config.in
2024-11-29 16:13:46 +08:00

29 lines
648 B
Plaintext

menuconfig 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://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/
if BR2_PACKAGE_LIBGPIOD
config BR2_PACKAGE_LIBGPIOD_USE_PREBUILT
bool "use prebuilt binary instead of building from source"
default y
endif
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