summaryrefslogtreecommitdiffstats
path: root/meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-1.8.0-and-2.0.0-examples-add-config-variable-to-enable-disable-dpdk.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-1.8.0-and-2.0.0-examples-add-config-variable-to-enable-disable-dpdk.patch')
-rw-r--r--meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-1.8.0-and-2.0.0-examples-add-config-variable-to-enable-disable-dpdk.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-1.8.0-and-2.0.0-examples-add-config-variable-to-enable-disable-dpdk.patch b/meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-1.8.0-and-2.0.0-examples-add-config-variable-to-enable-disable-dpdk.patch
new file mode 100644
index 0000000..c86c1a1
--- /dev/null
+++ b/meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-1.8.0-and-2.0.0-examples-add-config-variable-to-enable-disable-dpdk.patch
@@ -0,0 +1,44 @@
1From 54c95ca8f76f412c94a9f61e3756420ac554310b Mon Sep 17 00:00:00 2001
2From: Ong Boon Leong <boon.leong.ong@intel.com>
3Date: Thu, 12 Feb 2015 16:33:49 +0800
4Subject: [PATCH] examples: add config variable to enable/disable dpdk_qat
5
6Upstream-Status: Inappropriate [configuration]
7
8This patch adss following example build configs:
9
101) CONFIG_EXAMPLE_DPDK_QAT is used to control dpdk_qat example
11 by PACKAGECONFIG.
12
132) CONFIG_EXAMPLE_VM_POWER_MANAGER is used to control vm_power_manager
14 example by PACKAGECONFIG.
15
16Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
17---
18 examples/Makefile | 4 ++--
19 1 file changed, 2 insertions(+), 2 deletions(-)
20
21diff --git a/examples/Makefile b/examples/Makefile
22index 81f1d2f..7e9c7bd 100644
23--- a/examples/Makefile
24+++ b/examples/Makefile
25@@ -40,7 +40,7 @@ include $(RTE_SDK)/mk/rte.vars.mk
26 DIRS-y += cmdline
27 DIRS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += distributor
28 ifneq ($(ICP_ROOT),)
29-DIRS-y += dpdk_qat
30+DIRS-$(CONFIG_EXAMPLE_DPDK_QAT) += dpdk_qat
31 endif
32 DIRS-y += exception_path
33 DIRS-y += helloworld
34@@ -68,6 +68,6 @@ DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost
35 DIRS-$(CONFIG_RTE_LIBRTE_XEN_DOM0) += vhost_xen
36 DIRS-y += vmdq
37 DIRS-y += vmdq_dcb
38-DIRS-y += vm_power_manager
39+DIRS-$(CONFIG_EXAMPLE_VM_POWER_MANAGER) += vm_power_manager
40
41 include $(RTE_SDK)/mk/rte.extsubdir.mk
42--
431.7.9.5
44