From: Zqiang <[email protected]> Fix follow warning: "WARNING: preferred version 19.11.% of lib32-dpdk not available (for item lib32-dpdk) WARNING: versions of lib32-dpdk available: 20.11.1 NOTE: Multiple providers are available for runtime lib32-dpdk (lib32-dpdk, dpdk) Consider defining a PREFERRED_RPROVIDER entry to match lib32-dpdk WARNING: preferred version 19.11.% of lib32-dpdk not available (for item lib32-dpdk-dev) WARNING: versions of lib32-dpdk available: 20.11.1"
The dpdk19 inherits module.bbclass which does't have a mutilib extention , but dpdk20 doesn't inherit module.bbclass which has a mutilib extention, so when compile dpdk19, the lib32-dpdk would select dpdk20 which causes the warning. Add dpdk to NON_MULTILIB_RECIPES to fix the problem. Signed-off-by: Zqiang <[email protected]> --- conf/layer.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/layer.conf b/conf/layer.conf index 3b4a87e..83b3190 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -16,3 +16,5 @@ LAYERRECOMMENDS_dpdk = "meta-dpdk-dl" # cause compatibility issues with other layers LAYERVERSION_dpdk = "1" LAYERSERIES_COMPAT_dpdk = "dunfell gatesgarth hardknott" + +NON_MULTILIB_RECIPES_append = " dpdk" -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#7039): https://lists.yoctoproject.org/g/meta-intel/message/7039 Mute This Topic: https://lists.yoctoproject.org/mt/82762393/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
