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>
This commit is contained in:
He Zhe 2021-12-21 17:39:41 +08:00 committed by Anuj Mittal
parent 11edbc7a96
commit 2b4470df8b
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -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