From f73321ff54a296a2bbedc7b60bfc2182ec50cb4c Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Fri, 24 Dec 2021 11:46:27 +0100 Subject: [PATCH] hardknott: dey.conf: explicitly set NXP's forks as the preferred version For packages such as weston or opencv, bitbake will sometimes choose the poky recipes, causing build errors. Explicitly set the NXP version of these packages as the preferred version by mimicking the layer.conf configuration in the meta-bsp layer of meta-imx. Signed-off-by: Gabriel Valcazar --- meta-digi-dey/conf/distro/dey.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/meta-digi-dey/conf/distro/dey.conf b/meta-digi-dey/conf/distro/dey.conf index f2fa4b8cc..e1ed654c5 100644 --- a/meta-digi-dey/conf/distro/dey.conf +++ b/meta-digi-dey/conf/distro/dey.conf @@ -48,6 +48,15 @@ FEATURE_PACKAGES_dey-wireless = "packagegroup-dey-wireless" # 5.56 version should be used, which is provided by the poky layer. PREFERRED_VERSION_bluez5 ?= "5.56" +# Use NXP's forks of packages when possible +PREFERRED_VERSION_weston ?= "9.0.0.imx" +PREFERRED_VERSION_wayland-protocols = "1.22.imx" +PREFERRED_VERSION_libdrm ?= "2.4.107.imx" +PREFERRED_VERSION_opencv ?= "4.5.2.imx" +PREFERRED_VERSION_optee-client = "3.15.0.imx" +PREFERRED_VERSION_optee-os = "3.15.0.imx" +PREFERRED_VERSION_optee-test = "3.15.0.imx" + # Set the PREFERRED_PROVIDER for jpeg functionality based on the MACHINE # architecture. For armv7a devices libjpeg-turbo should be used to take # advantage of the SIMD instructions.