Use libgpiod 1.6.4 instead of 2.1.1 to avoid API incompatibility

Otherwise, compilation errors will happen when building libdigiapix

https://onedigi.atlassian.net/browse/DEL-9011

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
Gabriel Valcazar 2024-05-16 16:39:55 +02:00
parent facda40624
commit 2284565153
1 changed files with 6 additions and 0 deletions

View File

@ -60,6 +60,12 @@ FEATURE_PACKAGES_dey-wireless = "packagegroup-dey-wireless"
# 5.72 version should be used, which is provided by the poky layer.
PREFERRED_VERSION_bluez5 ?= "5.72"
# Latest version of libgpiod (2.1.1) breaks API compatibility with previously
# used version 1.6.3, causing libdigiapix compilation errors. Until we port
# libdigiapix to 2.1.1, use 1.6.4 instead, which is also available in poky to
# ensure compatibility with the old API.
PREFERRED_VERSION_libgpiod ?= "1.6.4"
# There's a generic opencl-headers recipe in the thud branch of
# meta-openembedded, but we should use the package provided by the imx-gpu-viv
# recipe in case there are NXP-specific changes in it