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 at intel.com> --- examples/performance-thread/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/performance-thread/Makefile b/examples/performance-thread/Makefile index 6278c9a..d2eec83 100644 --- a/examples/performance-thread/Makefile +++ b/examples/performance-thread/Makefile @@ -38,6 +38,9 @@ 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.5.5