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: 6235681 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2F3ED9F1BE for ; Fri, 17 Apr 2015 22:04:37 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5ACF7202E5 for ; Fri, 17 Apr 2015 22:04:36 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7CDC020279 for ; Fri, 17 Apr 2015 22:04:35 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YjELN-0002dY-BL; Fri, 17 Apr 2015 22:02:37 +0000 Received: from mail-pd0-f181.google.com ([209.85.192.181]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YjEL4-0002Hc-0A for linux-arm-kernel@lists.infradead.org; Fri, 17 Apr 2015 22:02:18 +0000 Received: by pdbqa5 with SMTP id qa5so140598950pdb.1 for ; Fri, 17 Apr 2015 15:01:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=M+BiTnueo+qz6/is8nsAyTacgonRMyYmlOWp1dQvQ9g=; b=RHAjb5Y2sLUhZJXQCkH8DEUjiQkYjQP7yKL2dbrvRDPWcKsWY3TGwgIUtdzOP5frjX vmoPFKXITezreBxLAt3krOuuU37g8HQfUBqjo5pOJUp0HMajDPdIspPjfzO3dFdgVu10 cQRyG0a1WgJb9ufPpUeDZFY/SNy3p6zvUdVeOCH3sJhRjblmNDjCMebFJIqnWopHE8ta 4uo/fAEQdGIBHvpOPxdDfWg8K+SC76V4h++swnxwyg4xkvh0GD+klB3B8CWiPYqcW3rV 74V3g5fYaskOtEnLz442RkdAkuWxUfbkwdcjaAfXx8SKw1vD2KVjjPyg93loW544ZfDT y6Eg== X-Gm-Message-State: ALoCoQnlTO1wAB3uIR8on5Hpo8siWA+TWYUC3/NIbYaj2peBovmBjH3YymmJHGzIHleHia6wYIQU 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150417_150218_106174_D09E7A57 X-CRM114-Status: UNSURE ( 7.56 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Kevin Hilman , Michael Ellerman , Tyler Baker , linux-kernel@vger.kernel.org, Andy Lutomirski , John Stultz , David Herrmann , Darren Hart , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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)