[dpdk-dev,v2,1/4] examples: enable performance-thread in examples build

Message ID 20170329163856.10932-2-bruce.richardson@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Bruce Richardson March 29, 2017, 4:38 p.m. UTC
  The performance-thread example was not build by default in the make
examples build target. It will compile ok for x86_64 targets so add it to
the examples makefile list for that platform.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 examples/Makefile | 3 +++
 1 file changed, 3 insertions(+)
  

Comments

Doherty, Declan March 30, 2017, 7:45 a.m. UTC | #1
On 29/03/2017 5:38 PM, Bruce Richardson wrote:
> The performance-thread example was not build by default in the make
> examples build target. It will compile ok for x86_64 targets so add it to
> the examples makefile list for that platform.
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---
>  examples/Makefile | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/examples/Makefile b/examples/Makefile
> index da2bfdd..49b0703 100644
> --- a/examples/Makefile
> +++ b/examples/Makefile
> @@ -78,6 +78,9 @@ DIRS-$(CONFIG_RTE_LIBRTE_LPM) += load_balancer
>  DIRS-y += multi_process
>  DIRS-y += netmap_compat/bridge
>  DIRS-$(CONFIG_RTE_LIBRTE_REORDER) += packet_ordering
> +ifeq ($(CONFIG_RTE_ARCH_X86_64),y)
> +DIRS-y += performance-thread
> +endif
>  DIRS-$(CONFIG_RTE_LIBRTE_IEEE1588) += ptpclient
>  DIRS-$(CONFIG_RTE_LIBRTE_METER) += qos_meter
>  DIRS-$(CONFIG_RTE_LIBRTE_SCHED) += qos_sched
>

Acked-by: Declan Doherty <declan.doherty@intel.com>
  

Patch

diff --git a/examples/Makefile b/examples/Makefile
index da2bfdd..49b0703 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -78,6 +78,9 @@  DIRS-$(CONFIG_RTE_LIBRTE_LPM) += load_balancer
 DIRS-y += multi_process
 DIRS-y += netmap_compat/bridge
 DIRS-$(CONFIG_RTE_LIBRTE_REORDER) += packet_ordering
+ifeq ($(CONFIG_RTE_ARCH_X86_64),y)
+DIRS-y += performance-thread
+endif
 DIRS-$(CONFIG_RTE_LIBRTE_IEEE1588) += ptpclient
 DIRS-$(CONFIG_RTE_LIBRTE_METER) += qos_meter
 DIRS-$(CONFIG_RTE_LIBRTE_SCHED) += qos_sched