From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 08 Apr 2016 09:20:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,454,1455004800"; d="scan'208";a="928403501" Received: from sie-lab-214-036.ir.intel.com (HELO sie-lab-214-36.ir.intel.com) ([10.237.214.36]) by orsmga001.jf.intel.com with ESMTP; 08 Apr 2016 09:20:11 -0700 From: Pablo de Lara To: dev@dpdk.org Cc: ian.betts@intel.com, Pablo de Lara Date: Fri, 8 Apr 2016 17:20:15 +0100 Message-Id: <1460132415-39522-1-git-send-email-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 2.5.5 Subject: [dpdk-dev] [PATCH] performance-thread: limit app compilation to x86_64 targets X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Apr 2016 16:20:44 -0000 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