diff options
Diffstat (limited to 'meta-isg/common/recipes-extended/dpdk/dpdk.inc')
-rw-r--r-- | meta-isg/common/recipes-extended/dpdk/dpdk.inc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-isg/common/recipes-extended/dpdk/dpdk.inc b/meta-isg/common/recipes-extended/dpdk/dpdk.inc index 85b88fa0..59946cfb 100644 --- a/meta-isg/common/recipes-extended/dpdk/dpdk.inc +++ b/meta-isg/common/recipes-extended/dpdk/dpdk.inc | |||
@@ -3,6 +3,26 @@ HOMEPAGE = "http://dpdk.org" | |||
3 | LICENSE = "BSD & LGPLv2 & GPLv2" | 3 | LICENSE = "BSD & LGPLv2 & GPLv2" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=751419260aa954499f7abaabaa882bbe" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=751419260aa954499f7abaabaa882bbe" |
5 | 5 | ||
6 | SRC_URI = "http://dpdk.org/browse/dpdk/snapshot/dpdk-${PV}.tar.gz;name=dpdk \ | ||
7 | file://dpdk-1.8.0-and-2.0.0-examples-add-config-variable-to-enable-disable-dpdk.patch \ | ||
8 | file://dpdk-1.8.0-and-2.0.0-add-RTE_KERNELDIR_OUT-to-split-kernel-bu.patch \ | ||
9 | file://dpdk-1.8.0-and-2.0.0-add-sysroot-option-within-app-makefile.patch \ | ||
10 | " | ||
11 | |||
12 | # dpdk example apps dpdk_qat and vhost have dependancy on fuse and qat. | ||
13 | # fuse is in meta-filesystems and qat is not yet upstreamed. | ||
14 | # So adding mechanism to explicitly disable the use of fuse and qat. | ||
15 | # To enable, uncomment the below line or include in .bbappend. | ||
16 | # PACKAGECONFIG ?= " dpdk_qat vhost libvirt" | ||
17 | |||
18 | PACKAGECONFIG[dpdk_qat] = ",,qat" | ||
19 | PACKAGECONFIG[vhost] = ",,fuse" | ||
20 | PACKAGECONFIG[libvirt] = ",,libvirt" | ||
21 | |||
22 | export CONFIG_EXAMPLE_DPDK_QAT = "${@base_contains('PACKAGECONFIG', 'dpdk_qat', 'y', 'n', d)}" | ||
23 | export CONFIG_EXAMPLE_VM_POWER_MANAGER = "${@base_contains('PACKAGECONFIG', 'libvirt', 'y', 'n', d)}" | ||
24 | export CONFIG_VHOST_ENABLED = "${@base_contains('PACKAGECONFIG', 'vhost', 'y', 'n', d)}" | ||
25 | |||
6 | RDEPENDS_${PN} += "python-subprocess" | 26 | RDEPENDS_${PN} += "python-subprocess" |
7 | DEPENDS = "virtual/kernel" | 27 | DEPENDS = "virtual/kernel" |
8 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | 28 | do_configure[depends] += "virtual/kernel:do_shared_workdir" |