From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo de Lara Subject: [PATCH] performance-thread: limit app compilation to x86_64 targets Date: Fri, 8 Apr 2016 17:20:15 +0100 Message-ID: <1460132415-39522-1-git-send-email-pablo.de.lara.guarch@intel.com> Cc: ian.betts@intel.com, Pablo de Lara To: dev@dpdk.org Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 93F182BA1 for ; Fri, 8 Apr 2016 18:20:43 +0200 (CEST) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 | 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