# From https://www.kernel.org/pub/software/libs/libgpiod/sha256sums.asc
-sha256 a041b06907c956dd1c77836cccf4d392af29b9fe09c8ad18449a6da707b5ba2d libgpiod-1.4.5.tar.xz
+sha256 c601e71846f5ab140c83bc757fdd62a4fda24a9cee39cc5e99c96ec2bf1b06a9 libgpiod-1.6.2.tar.xz
# Hash for license file
sha256 ce64d5f7b49ea6d80fdb6d4cdee6839d1a94274f7493dc797c3b55b65ec8e9ed COPYING
#
################################################################################
-# be careful when bumping versions, newer branches (e.g. >= 1.6)
-# depend on pretty recent kernel headers
-LIBGPIOD_VERSION = 1.4.5
+# Be careful when bumping versions.
+# Dependency on kernel header versions may change.
+LIBGPIOD_VERSION = 1.6.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
+LIBGPIOD_CONF_OPTS = --disable-tests
ifeq ($(BR2_PACKAGE_LIBGPIOD_TOOLS),y)
LIBGPIOD_CONF_OPTS += --enable-tools