From: Pablo de Lara Date: Fri, 8 Apr 2016 16:20:15 +0000 (+0100) Subject: examples/performance-thread: restrict to x86_64 X-Git-Tag: spdx-start~7024 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e3898dc486f91a17cd29348b03649594efe366cd;p=dpdk.git examples/performance-thread: restrict to x86_64 Performance-thread sample app is only supported for x86_64 targets, so this commit adds a check to avoid compilation on other targets. Signed-off-by: Pablo de Lara --- diff --git a/examples/performance-thread/Makefile b/examples/performance-thread/Makefile index 6278c9a174..d19f8489ed 100644 --- a/examples/performance-thread/Makefile +++ b/examples/performance-thread/Makefile @@ -38,6 +38,10 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc include $(RTE_SDK)/mk/rte.vars.mk +ifneq ($(CONFIG_RTE_ARCH),"x86_64") +$(error This application is only supported for x86_64 targets) +endif + DIRS-y += l3fwd-thread DIRS-y += pthread_shim