1config BR2_PACKAGE_LIBGPIOD2 2 bool "libgpiod2" 3 depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 4 depends on !BR2_PACKAGE_LIBGPIOD 5 help 6 This is a C library that abstracts the GPIO character 7 device operations on linux. 8 9 This package is the continuation of the libgpiod package 10 for versions 2.0 and above. 11 12 Note that a kernel of 5.10 or above is required for the 13 ioctls to work. 14 15 https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/ 16 17if BR2_PACKAGE_LIBGPIOD2 18 19config BR2_PACKAGE_LIBGPIOD2_TOOLS 20 bool "install tools" 21 help 22 Include a set of command-line tools for managing GPIOs. 23 24endif 25 26comment "libgpiod2 needs kernel headers >= 5.10" 27 depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 28 29comment "libgpiod2 is incompatible with libgpiod" 30 depends on BR2_PACKAGE_LIBGPIOD 31