From 2b4470df8b832b5d549c29162e891ca4c51faafc Mon Sep 17 00:00:00 2001 From: He Zhe Date: Tue, 21 Dec 2021 17:39:41 +0800 Subject: dpdk-module: Set its COMPATIBLE_MACHINE and COMPATIBLE_HOST to align with dpdk dpdk-module can now be built against qemux86 and etc. that do not support it at all. To avoid confusing the users with compile-time errors, let's align it with dpdk. Signed-off-by: He Zhe Signed-off-by: Anuj Mittal --- recipes-extended/dpdk/dpdk-module_20.11.1.bb | 4 ++++ recipes-extended/dpdk/dpdk-module_21.11.0.bb | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/recipes-extended/dpdk/dpdk-module_20.11.1.bb b/recipes-extended/dpdk/dpdk-module_20.11.1.bb index 85d708c..42fe229 100644 --- a/recipes-extended/dpdk/dpdk-module_20.11.1.bb +++ b/recipes-extended/dpdk/dpdk-module_20.11.1.bb @@ -16,6 +16,10 @@ inherit module #kernel module needs 'rte_build_config.h', which is generated at buid time DEPENDS += "dpdk" +COMPATIBLE_MACHINE = "null" +COMPATIBLE_HOST:libc-musl:class-target = "null" +COMPATIBLE_HOST:linux-gnux32 = "null" + export S export STAGING_KERNEL_DIR export STAGING_INCDIR diff --git a/recipes-extended/dpdk/dpdk-module_21.11.0.bb b/recipes-extended/dpdk/dpdk-module_21.11.0.bb index c21bc62..e39eff4 100644 --- a/recipes-extended/dpdk/dpdk-module_21.11.0.bb +++ b/recipes-extended/dpdk/dpdk-module_21.11.0.bb @@ -15,6 +15,10 @@ inherit module #kernel module needs 'rte_build_config.h', which is generated at buid time DEPENDS += "dpdk" +COMPATIBLE_MACHINE = "null" +COMPATIBLE_HOST:libc-musl:class-target = "null" +COMPATIBLE_HOST:linux-gnux32 = "null" + export S export STAGING_KERNEL_DIR export STAGING_INCDIR -- cgit v1.2.3-54-g00ecf