Fixed:
$ yocto-check-layer-wrapper /path/to/meta-dpdk
[snip]
ERROR: Nothing PROVIDES 'dpdk' (but 
/path/to/meta-dpdk/recipes-extended/dpdk/dpdk-module_20.11.1.bb DEPENDS on or 
otherwise requires it)
[snip]

Move COMPATIBLE settings to dpdk.inc to make them have the same settings can
fix the problem.

Signed-off-by: Robert Yang <[email protected]>
---
 recipes-extended/dpdk/dpdk.inc        | 4 ++++
 recipes-extended/dpdk/dpdk_19.11.5.bb | 4 ----
 recipes-extended/dpdk/dpdk_20.11.1.bb | 4 ----
 3 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc
index a73f88d..c0970ae 100644
--- a/recipes-extended/dpdk/dpdk.inc
+++ b/recipes-extended/dpdk/dpdk.inc
@@ -9,3 +9,7 @@ LIC_FILES_CHKSUM = 
"file://license/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4
 SRC_URI = "git://dpdk.org/dpdk${STABLE};branch=${BRANCH} \
 "
 CVE_PRODUCT = "data_plane_development_kit"
+
+COMPATIBLE_MACHINE = "null"
+COMPATIBLE_HOST_libc-musl_class-target = "null"
+COMPATIBLE_HOST_linux-gnux32 = "null"
diff --git a/recipes-extended/dpdk/dpdk_19.11.5.bb 
b/recipes-extended/dpdk/dpdk_19.11.5.bb
index 16f05b1..2d1ea1a 100644
--- a/recipes-extended/dpdk/dpdk_19.11.5.bb
+++ b/recipes-extended/dpdk/dpdk_19.11.5.bb
@@ -16,10 +16,6 @@ BRANCH = "19.11"
 SRCREV = "1d28832feb881d4512993791d30d695cc9c7160b"
 S = "${WORKDIR}/git"
 
-COMPATIBLE_MACHINE = "null"
-COMPATIBLE_HOST_libc-musl_class-target = "null"
-COMPATIBLE_HOST_linux-gnux32 = "null"
-
 DPDK_EXTRA_CFLAGS = ""
 DPDK_EXTRA_CFLAGS_qemux86 ?= "-march=corei7"
 DPDK_EXTRA_CFLAGS_qemux86-64 ?= "-march=corei7"
diff --git a/recipes-extended/dpdk/dpdk_20.11.1.bb 
b/recipes-extended/dpdk/dpdk_20.11.1.bb
index d96fd8b..6194736 100644
--- a/recipes-extended/dpdk/dpdk_20.11.1.bb
+++ b/recipes-extended/dpdk/dpdk_20.11.1.bb
@@ -14,10 +14,6 @@ EXTRA_OEMESON = " -Denable_kmods=false \
                 -Dexamples=all \
 "
 
-COMPATIBLE_MACHINE = "null"
-COMPATIBLE_HOST_libc-musl_class-target = "null"
-COMPATIBLE_HOST_linux-gnux32 = "null"
-
 PACKAGECONFIG ??= " "
 PACKAGECONFIG[afxdp] = ",,libbpf"
 PACKAGECONFIG[libvirt] = ",,libvirt"
-- 
2.31.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7159): 
https://lists.yoctoproject.org/g/meta-intel/message/7159
Mute This Topic: https://lists.yoctoproject.org/mt/84222782/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to