config BR2_PACKAGE_LIBGPIOD2 bool "libgpiod2" depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 depends on !BR2_PACKAGE_LIBGPIOD 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/ This package is the continuation of the libgpiod package for versions 2.0 and above. Note that a kernel of 5.10 or above is required for the ioctls to work. if BR2_PACKAGE_LIBGPIOD2 config BR2_PACKAGE_LIBGPIOD2_TOOLS bool "install tools" help Include a set of command-line tools for managing GPIOs. endif comment "Consider upgrading to libgpiod2" depends on BR2_PACKAGE_LIBGPIOD