summaryrefslogtreecommitdiffstats
path: root/recipes-extended/dpdk/dpdk.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/dpdk/dpdk.inc')
-rw-r--r--recipes-extended/dpdk/dpdk.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc
index 54af9c6..aa03a67 100644
--- a/recipes-extended/dpdk/dpdk.inc
+++ b/recipes-extended/dpdk/dpdk.inc
@@ -17,7 +17,7 @@ SRC_URI = "git://dpdk.org/dpdk${STABLE};branch=${BRANCH} \
17 17
18COMPATIBLE_MACHINE = "null" 18COMPATIBLE_MACHINE = "null"
19COMPATIBLE_HOST_libc-musl_class-target = "null" 19COMPATIBLE_HOST_libc-musl_class-target = "null"
20 20COMPATIBLE_HOST_linux-gnux32 = "null"
21 21
22# dpdk example apps dpdk_qat and vhost have dependancy on fuse and qat. 22# dpdk example apps dpdk_qat and vhost have dependancy on fuse and qat.
23# fuse is in meta-filesystems and qat is not yet upstreamed. 23# fuse is in meta-filesystems and qat is not yet upstreamed.
@@ -56,6 +56,9 @@ export SYSROOTPATH = "--sysroot=${STAGING_DIR_HOST}"
56export DPDK_TARGET_MACH = "${@get_dpdk_target_mach(bb,d)}" 56export DPDK_TARGET_MACH = "${@get_dpdk_target_mach(bb,d)}"
57export ICP_LAC_API_DIR = "${STAGING_DIR_TARGET}${includedir}/lac" 57export ICP_LAC_API_DIR = "${STAGING_DIR_TARGET}${includedir}/lac"
58 58
59export EXAMPLES_BUILD_DIR = "${RTE_TARGET}"
60export ARCHDIR = "generic"
61
59# The list of intel Comms platforms and their target machine 62# The list of intel Comms platforms and their target machine
60# process mapping. The supported target machine is listed under 63# process mapping. The supported target machine is listed under
61# dpdk/mk/machine 64# dpdk/mk/machine
@@ -84,6 +87,9 @@ do_configure () {
84 sed -e "s#CONFIG_RTE_LIBRTE_VHOST_NUMA=.*#CONFIG_RTE_LIBRTE_VHOST_NUMA=${CONFIG_HAVE_NUMA}#" -i ${S}/config/common_linuxapp 87 sed -e "s#CONFIG_RTE_LIBRTE_VHOST_NUMA=.*#CONFIG_RTE_LIBRTE_VHOST_NUMA=${CONFIG_HAVE_NUMA}#" -i ${S}/config/common_linuxapp
85 sed -e "s#CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=.*#CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=${CONFIG_HAVE_NUMA}#" -i ${S}/config/common_linuxapp 88 sed -e "s#CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=.*#CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=${CONFIG_HAVE_NUMA}#" -i ${S}/config/common_linuxapp
86 89
90 # Fix-up CONFIG_RTE_LIBRTE_POWER based on package config for libvirt
91 sed -e "s#CONFIG_RTE_LIBRTE_POWER=y#CONFIG_RTE_LIBRTE_POWER=${CONFIG_EXAMPLE_VM_POWER_MANAGER}#" -i ${S}/config/common_linuxapp
92
87 make O=$RTE_TARGET T=$RTE_TARGET config 93 make O=$RTE_TARGET T=$RTE_TARGET config
88} 94}
89 95