diff options
author | WU CHIA CHUAN <chia.chuan.wu@intel.com> | 2015-07-28 16:05:08 +0800 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2015-07-29 11:28:43 -0700 |
commit | 76d81da78421b48cea47d7090855173f87a43a99 (patch) | |
tree | c4ecd3ae728b3d1c1855b300299717d8f2fdc49d /meta-isg/common/recipes-extended/dpdk/dpdk_1.8.0.bb | |
parent | b88b9629f7c02a6bf27d96577cb725077c711c50 (diff) | |
download | meta-intel-76d81da78421b48cea47d7090855173f87a43a99.tar.gz |
meta-isg: dpdk: tidy up dpdk.inc & removed unnecessary patches
This patch tidy up dpdk.inc and removing unnecessary patches.
Integrating common recipe from dpdk_1.8.0.bb and dpdk_2.0.0.bb.
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: WU CHIA CHUAN <chia.chuan.wu@intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'meta-isg/common/recipes-extended/dpdk/dpdk_1.8.0.bb')
-rw-r--r-- | meta-isg/common/recipes-extended/dpdk/dpdk_1.8.0.bb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/meta-isg/common/recipes-extended/dpdk/dpdk_1.8.0.bb b/meta-isg/common/recipes-extended/dpdk/dpdk_1.8.0.bb index 5265a9cf..b1a3aea5 100644 --- a/meta-isg/common/recipes-extended/dpdk/dpdk_1.8.0.bb +++ b/meta-isg/common/recipes-extended/dpdk/dpdk_1.8.0.bb | |||
@@ -1,33 +1,11 @@ | |||
1 | include dpdk.inc | 1 | include dpdk.inc |
2 | 2 | ||
3 | SRC_URI = "http://dpdk.org/browse/dpdk/snapshot/dpdk-${PV}.tar.gz;name=dpdk \ | ||
4 | file://dpdk-1.8.0-dpdk-enable-build-config-VHOST-in-common_linuxapp-config.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] = "11ad8785aaa869cc87265bcb8d828f22" | 3 | SRC_URI[dpdk.md5sum] = "11ad8785aaa869cc87265bcb8d828f22" |
12 | SRC_URI[dpdk.sha256sum] = "9f5386830bd999355182e20408f3fc2cfa0802a4497fdded8d43202feede1939" | 4 | SRC_URI[dpdk.sha256sum] = "9f5386830bd999355182e20408f3fc2cfa0802a4497fdded8d43202feede1939" |
13 | 5 | ||
14 | export EXAMPLES_BUILD_DIR = "${RTE_TARGET}" | 6 | export EXAMPLES_BUILD_DIR = "${RTE_TARGET}" |
15 | export ARCHDIR = "generic" | 7 | export ARCHDIR = "generic" |
16 | 8 | ||
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)}" | ||
30 | |||
31 | do_install_append () { | 9 | do_install_append () { |
32 | 10 | ||
33 | install -m 0755 -d ${D}/${INSTALL_PATH}/${RTE_TARGET}/hostapp | 11 | install -m 0755 -d ${D}/${INSTALL_PATH}/${RTE_TARGET}/hostapp |