From 22845651530fb84b4e68120309b9a8d0dd6e4ca8 Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Thu, 16 May 2024 16:39:55 +0200 Subject: [PATCH] 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 --- meta-digi-dey/conf/distro/dey.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta-digi-dey/conf/distro/dey.conf b/meta-digi-dey/conf/distro/dey.conf index 7a7cf883a..8e9ee2d67 100644 --- a/meta-digi-dey/conf/distro/dey.conf +++ b/meta-digi-dey/conf/distro/dey.conf @@ -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