summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHe Zhe <zhe.he@windriver.com>2021-12-21 17:39:41 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2022-01-26 11:34:03 +0800
commit2b4470df8b832b5d549c29162e891ca4c51faafc (patch)
tree052836bf6dcd45ee5f93fc3d0913466b66a27b15
parent11edbc7a9681983c37716f2381770755e21fe619 (diff)
downloadmeta-dpdk-2b4470df8b832b5d549c29162e891ca4c51faafc.tar.gz
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 <zhe.he@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
-rw-r--r--recipes-extended/dpdk/dpdk-module_20.11.1.bb4
-rw-r--r--recipes-extended/dpdk/dpdk-module_21.11.0.bb4
2 files changed, 8 insertions, 0 deletions
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
16#kernel module needs 'rte_build_config.h', which is generated at buid time 16#kernel module needs 'rte_build_config.h', which is generated at buid time
17DEPENDS += "dpdk" 17DEPENDS += "dpdk"
18 18
19COMPATIBLE_MACHINE = "null"
20COMPATIBLE_HOST:libc-musl:class-target = "null"
21COMPATIBLE_HOST:linux-gnux32 = "null"
22
19export S 23export S
20export STAGING_KERNEL_DIR 24export STAGING_KERNEL_DIR
21export STAGING_INCDIR 25export 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
15#kernel module needs 'rte_build_config.h', which is generated at buid time 15#kernel module needs 'rte_build_config.h', which is generated at buid time
16DEPENDS += "dpdk" 16DEPENDS += "dpdk"
17 17
18COMPATIBLE_MACHINE = "null"
19COMPATIBLE_HOST:libc-musl:class-target = "null"
20COMPATIBLE_HOST:linux-gnux32 = "null"
21
18export S 22export S
19export STAGING_KERNEL_DIR 23export STAGING_KERNEL_DIR
20export STAGING_INCDIR 24export STAGING_INCDIR