From: Bruce Richardson Date: Wed, 29 Mar 2017 16:38:53 +0000 (+0100) Subject: examples: enable build of performance-thread X-Git-Tag: spdx-start~3696 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a894e13ede4f7ae647d8f2b1bfa888a690c9f1ca;p=dpdk.git examples: enable build of performance-thread 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 Acked-by: Declan Doherty --- diff --git a/devtools/test-build.sh b/devtools/test-build.sh index 5fed4c1b2e..cc364e848e 100755 --- a/devtools/test-build.sh +++ b/devtools/test-build.sh @@ -236,10 +236,6 @@ for conf in $configs ; do make -j$J -sC examples \ EXTRA_LDFLAGS="$DPDK_DEP_LDFLAGS" $verbose \ O=$(readlink -m $dir/examples) - ! echo $target | grep -q '^x86_64' || \ - make -j$J -sC examples/performance-thread \ - EXTRA_LDFLAGS="$DPDK_DEP_LDFLAGS" $verbose \ - O=$(readlink -m $dir/examples/performance-thread) unset RTE_TARGET echo "################## $dir done." unset dir diff --git a/examples/Makefile b/examples/Makefile index 05e890e59f..6298626b75 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -75,6 +75,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