summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPablo de Lara <pablo.de.lara.guarch@intel.com>2016-04-08 17:20:15 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-04-08 22:28:39 +0200
commite3898dc486f91a17cd29348b03649594efe366cd (patch)
tree6f5a0933dcfcaafffeb5d0b537ba798630c9e44c /examples
parent66085224474943288083f943725ba73192f558f1 (diff)
downloaddpdk-e3898dc486f91a17cd29348b03649594efe366cd.zip
dpdk-e3898dc486f91a17cd29348b03649594efe366cd.tar.gz
dpdk-e3898dc486f91a17cd29348b03649594efe366cd.tar.xz
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 <pablo.de.lara.guarch@intel.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/performance-thread/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/performance-thread/Makefile b/examples/performance-thread/Makefile
index 6278c9a..d19f848 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