From patchwork Fri Apr 17 22:01:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tyler Baker X-Patchwork-Id: 47300 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4661020553 for ; Fri, 17 Apr 2015 22:02:07 +0000 (UTC) Received: by laat2 with SMTP id t2sf28056818laa.2 for ; Fri, 17 Apr 2015 15:02:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=ddPC8bQYpQQ5s/PxB/kre6T20vUyrOgOxNlO8FvYp0c=; b=NHJn8Z1TMylGwTunxb4mYOMKgXlQkDqqi1EAJ01oPztNjiNKGQu6dNISqqLkrTD8bv hhm3VzIY+0/utCi8y3nH4K1LFAjhVIV7vtZjTA2X4y/Kn7siyX3hB96zx8Mragdf5N1l q1XIDjSoQPEfFzE+BRG69rQLoIwdTBTk9UjxYdafkJ6mhOMLUAgoYFxLXytOTr5fSynM U482e9CHypb2jWOpkEWRhKHADotd+5f+R2QsK+g4QUJVF5GVsdqHfAVYFgW7OD0q6uCm ZiKAi14mmM+zbwsJV+M24AdUzJNzuXsaioJM7SoT40xOSFxZblwXDaNEyT0d0WVmqv+b /Vgg== X-Gm-Message-State: ALoCoQn8udeS0XkkqGJ7C1pji8JZSDDgaYYLmJKuoj3T21bQuK+9T+imuGdnY48DekzOzt9Ylha8 X-Received: by 10.180.74.197 with SMTP id w5mr1230186wiv.5.1429308126190; Fri, 17 Apr 2015 15:02:06 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.69 with SMTP id kw5ls559136lac.86.gmail; Fri, 17 Apr 2015 15:02:05 -0700 (PDT) X-Received: by 10.152.234.108 with SMTP id ud12mr6100377lac.81.1429308125930; Fri, 17 Apr 2015 15:02:05 -0700 (PDT) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com. [209.85.217.182]) by mx.google.com with ESMTPS id k5si7754198lbd.83.2015.04.17.15.02.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Apr 2015 15:02:05 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by lbbuc2 with SMTP id uc2so93167852lbb.2 for ; Fri, 17 Apr 2015 15:02:05 -0700 (PDT) X-Received: by 10.152.36.2 with SMTP id m2mr5985921laj.72.1429308125511; Fri, 17 Apr 2015 15:02:05 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.67.65 with SMTP id l1csp230462lbt; Fri, 17 Apr 2015 15:02:04 -0700 (PDT) X-Received: by 10.68.131.225 with SMTP id op1mr8976405pbb.86.1429308123833; Fri, 17 Apr 2015 15:02:03 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id jo6si18275128pbc.105.2015.04.17.15.02.02; Fri, 17 Apr 2015 15:02:03 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932313AbbDQWB6 (ORCPT + 27 others); Fri, 17 Apr 2015 18:01:58 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:36178 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752124AbbDQWB4 (ORCPT ); Fri, 17 Apr 2015 18:01:56 -0400 Received: by pabsx10 with SMTP id sx10so138055143pab.3 for ; Fri, 17 Apr 2015 15:01:55 -0700 (PDT) X-Received: by 10.70.37.45 with SMTP id v13mr8887963pdj.50.1429308115885; Fri, 17 Apr 2015 15:01:55 -0700 (PDT) Received: from localhost.localdomain ([173.14.250.228]) by mx.google.com with ESMTPSA id o4sm7385747pdh.22.2015.04.17.15.01.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Apr 2015 15:01:55 -0700 (PDT) From: Tyler Baker To: Shuah Khan Cc: Andy Lutomirski , Kevin Hilman , John Stultz , Darren Hart , David Herrmann , Michael Ellerman , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Tyler Baker Subject: [PATCH v2 6/8] selftest/x86: have no dependency on all when cross building Date: Fri, 17 Apr 2015 15:01:49 -0700 Message-Id: <1429308109-5133-1-git-send-email-tyler.baker@linaro.org> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: tyler.baker@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , If the CROSS_COMPILE is set have no dependency on all. Cc: Andy Lutomirski Signed-off-by: Tyler Baker --- tools/testing/selftests/x86/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/x86/Makefile b/tools/testing/selftests/x86/Makefile index 57090ad..9962e10 100644 --- a/tools/testing/selftests/x86/Makefile +++ b/tools/testing/selftests/x86/Makefile @@ -9,13 +9,17 @@ CFLAGS := -O2 -g -std=gnu99 -pthread -Wall UNAME_M := $(shell uname -m) +ifeq ($(CROSS_COMPILE),) # Always build 32-bit tests all: all_32 - # If we're on a 64-bit host, build 64-bit tests as well ifeq ($(UNAME_M),x86_64) all: all_32 all_64 endif +else +# No dependency on all when cross building +all: +endif all_32: check_build32 $(BINARIES_32)