From e3898dc486f91a17cd29348b03649594efe366cd Mon Sep 17 00:00:00 2001 From: Pablo de Lara Date: Fri, 8 Apr 2016 17:20:15 +0100 Subject: [PATCH] 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 --- examples/performance-thread/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.20.1