diff options
| author | WU CHIA CHUAN <chia.chuan.wu@intel.com> | 2015-07-10 21:23:53 +0800 |
|---|---|---|
| committer | Saul Wold <sgw@linux.intel.com> | 2015-07-10 13:52:28 -0700 |
| commit | 9acc40b6cb3cf4c66da1ac16bd14bc11b25799bd (patch) | |
| tree | f62575b3c2070f3ff6b7e2dd87346b82f7f96ef7 | |
| parent | d6d5b1748b2df2981bd05e1be7ee0d21fe75b4f7 (diff) | |
| download | meta-intel-9acc40b6cb3cf4c66da1ac16bd14bc11b25799bd.tar.gz | |
meta-isg: dpdk v2.0.0: initial DPDK v2.0.0 enabling recipe
This patch makes reference to early dpdk meta-data implementation
and extends it to support DPDK v2.0.0.
Signed-off-by: WU CHIA CHUAN <chia.chuan.wu@intel.com>
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
| -rw-r--r-- | meta-isg/common/recipes-extended/dpdk/dpdk_2.0.0.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-isg/common/recipes-extended/dpdk/dpdk_2.0.0.bb b/meta-isg/common/recipes-extended/dpdk/dpdk_2.0.0.bb new file mode 100644 index 00000000..cb158b92 --- /dev/null +++ b/meta-isg/common/recipes-extended/dpdk/dpdk_2.0.0.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | include dpdk.inc | ||
| 2 | |||
| 3 | SRC_URI = "http://dpdk.org/browse/dpdk/snapshot/dpdk-${PV}.tar.gz;name=dpdk \ | ||
| 4 | file://dpdk-2.0.0-dpdk-enable-VHOST-and-ip_fragmentation-in-common_linuxapp.patch \ | ||
| 5 | file://dpdk-1.8.0-and-2.0.0-examples-add-config-variable-to-enable-disable-dpdk.patch \ | ||
| 6 | file://dpdk-1.8.0-and-2.0.0-add-RTE_KERNELDIR_OUT-to-split-kernel-bu.patch \ | ||
| 7 | file://dpdk-1.8.0-and-2.0.0-add-sysroot-option-within-app-makefile.patch \ | ||
| 8 | file://dpdk-1.8.0-and-2.0.0-dpdk-defconfig-select-RTE_MACHINE-type.patch \ | ||
| 9 | " | ||
| 10 | |||
| 11 | SRC_URI[dpdk.md5sum] = "e9e7935c9eec920841ad373949514934" | ||
| 12 | SRC_URI[dpdk.sha256sum] = "643789a3be5ba44dd84d6b248cdf5471b260f8736dada177dadf076aebfbff3f" | ||
| 13 | |||
| 14 | export EXAMPLES_BUILD_DIR = "${RTE_TARGET}" | ||
| 15 | export ARCHDIR = "generic" | ||
| 16 | |||
| 17 | # dpdk example apps dpdk_qat and vhost have dependancy on fuse and qat. | ||
| 18 | # fuse is in meta-filesystems and qat is not yet upstreamed. | ||
| 19 | # So adding mechanism to explicitly disable the use of fuse and qat. | ||
| 20 | # To enable, uncomment the below line or include in .bbappend. | ||
| 21 | # PACKAGECONFIG ?= " dpdk_qat vhost libvirt" | ||
| 22 | |||
| 23 | PACKAGECONFIG[dpdk_qat] = ",,qat" | ||
| 24 | PACKAGECONFIG[vhost] = ",,fuse" | ||
| 25 | PACKAGECONFIG[libvirt] = ",,libvirt" | ||
| 26 | |||
| 27 | export CONFIG_EXAMPLE_DPDK_QAT = "${@base_contains('PACKAGECONFIG', 'dpdk_qat', 'y', 'n', d)}" | ||
| 28 | export CONFIG_EXAMPLE_VM_POWER_MANAGER = "${@base_contains('PACKAGECONFIG', 'libvirt', 'y', 'n', d)}" | ||
| 29 | export CONFIG_VHOST_ENABLED = "${@base_contains('PACKAGECONFIG', 'vhost', 'y', 'n', d)}" | ||
