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>
This commit is contained in:
Pablo de Lara 2016-04-08 17:20:15 +01:00 committed by Thomas Monjalon
parent 6608522447
commit e3898dc486

View File

@ -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