From 634f91c982b34c63cccb142711007d5dea60797c Mon Sep 17 00:00:00 2001 From: Ong Boon Leong Date: Fri, 10 Jul 2015 21:23:44 +0800 Subject: meta-isg: dpdk v1.8: add patches for qat, vhost and libvirt PACKAGECONFIG Introduce two patches to enable DPDK config file to support PACKAGECONFIG options for QAT, vhost and libvirt. Signed-off-by: Ong Boon Leong Signed-off-by: Saul Wold --- ...d-config-variable-to-enable-disable-dpdk_.patch | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-1.8.0-examples-add-config-variable-to-enable-disable-dpdk_.patch (limited to 'meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-1.8.0-examples-add-config-variable-to-enable-disable-dpdk_.patch') diff --git a/meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-1.8.0-examples-add-config-variable-to-enable-disable-dpdk_.patch b/meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-1.8.0-examples-add-config-variable-to-enable-disable-dpdk_.patch new file mode 100644 index 00000000..c86c1a1d --- /dev/null +++ b/meta-isg/common/recipes-extended/dpdk/dpdk/dpdk-1.8.0-examples-add-config-variable-to-enable-disable-dpdk_.patch @@ -0,0 +1,44 @@ +From 54c95ca8f76f412c94a9f61e3756420ac554310b Mon Sep 17 00:00:00 2001 +From: Ong Boon Leong +Date: Thu, 12 Feb 2015 16:33:49 +0800 +Subject: [PATCH] examples: add config variable to enable/disable dpdk_qat + +Upstream-Status: Inappropriate [configuration] + +This patch adss following example build configs: + +1) CONFIG_EXAMPLE_DPDK_QAT is used to control dpdk_qat example + by PACKAGECONFIG. + +2) CONFIG_EXAMPLE_VM_POWER_MANAGER is used to control vm_power_manager + example by PACKAGECONFIG. + +Signed-off-by: Ong Boon Leong +--- + examples/Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/examples/Makefile b/examples/Makefile +index 81f1d2f..7e9c7bd 100644 +--- a/examples/Makefile ++++ b/examples/Makefile +@@ -40,7 +40,7 @@ include $(RTE_SDK)/mk/rte.vars.mk + DIRS-y += cmdline + DIRS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += distributor + ifneq ($(ICP_ROOT),) +-DIRS-y += dpdk_qat ++DIRS-$(CONFIG_EXAMPLE_DPDK_QAT) += dpdk_qat + endif + DIRS-y += exception_path + DIRS-y += helloworld +@@ -68,6 +68,6 @@ DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost + DIRS-$(CONFIG_RTE_LIBRTE_XEN_DOM0) += vhost_xen + DIRS-y += vmdq + DIRS-y += vmdq_dcb +-DIRS-y += vm_power_manager ++DIRS-$(CONFIG_EXAMPLE_VM_POWER_MANAGER) += vm_power_manager + + include $(RTE_SDK)/mk/rte.extsubdir.mk +-- +1.7.9.5 + -- cgit v1.2.3-54-g00ecf