From patchwork Wed Apr 1 23:20:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tyler Baker X-Patchwork-Id: 6143331 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A1950BF4A6 for ; Wed, 1 Apr 2015 23:25:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D9DD320328 for ; Wed, 1 Apr 2015 23:25:43 +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 DFCD420114 for ; Wed, 1 Apr 2015 23:25:42 +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 1YdRxK-00086H-As; Wed, 01 Apr 2015 23:21:54 +0000 Received: from mail-pd0-f172.google.com ([209.85.192.172]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YdRwT-0007e7-5D for linux-arm-kernel@lists.infradead.org; Wed, 01 Apr 2015 23:21:01 +0000 Received: by pdbni2 with SMTP id ni2so69825167pdb.1 for ; Wed, 01 Apr 2015 16:20:44 -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:in-reply-to :references; bh=ApEcOxVPqX33Hm2PpvxZxllTxQnIl172WH/+mOQ7uyg=; b=VCWoEkixg3nCay6TIJthTYYmFF5Nnhstyg0CmL9CXhl1XFGVj2aooYG1nNatIzhvd9 EyIdON56cyZ3uOvu8/deDfTLW+IzGgBsPcD6INo2v8tUg6wivPgvAjc/VvEUaTUYo4K4 fKg0SQQUSMcrHwgZpABnJH1fqUXnSR/nBfQ64m8Ky5DV+EpnKHa9WQdtBLYL97n2pXnp krEzRQ7ujfMeGRaEMcLCceRH6EWWX8qV4CfTsnkt1lH4n7MpwxOoMaIwUunnus1+hWc8 oVRumNHM7RqJzn/pzdye+sz/6x+WyfiRgeLztdb91UgrWJqKe5lDXrnycDyo21YaLgEw 1sjA== X-Gm-Message-State: ALoCoQl/yBQ1pND6kSV4Q+GuL9eR030bcQhgKAaLV5er4nTeQGkopGco1fwRdwhBrkkR68M08VFu X-Received: by 10.67.4.104 with SMTP id cd8mr81755618pad.116.1427930444804; Wed, 01 Apr 2015 16:20:44 -0700 (PDT) Received: from localhost.localdomain ([173.14.250.228]) by mx.google.com with ESMTPSA id qz3sm3210197pab.13.2015.04.01.16.20.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 01 Apr 2015 16:20:43 -0700 (PDT) From: Tyler Baker To: Shuah Khan Subject: [PATCH 5/6] selftest/ipc: enable cross compilation Date: Wed, 1 Apr 2015 16:20:19 -0700 Message-Id: <1427930420-4762-6-git-send-email-tyler.baker@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1427930420-4762-1-git-send-email-tyler.baker@linaro.org> References: <1427930420-4762-1-git-send-email-tyler.baker@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150401_162101_235784_AF4FCF63 X-CRM114-Status: UNSURE ( 7.84 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Kevin Hilman , Michael Ellerman , Tyler Baker , linux-kernel@vger.kernel.org, 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 Use the CC variable instead of hard coding gcc. Signed-off-by: Tyler Baker --- tools/testing/selftests/ipc/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tools/testing/selftests/ipc/Makefile b/tools/testing/selftests/ipc/Makefile index 3b6013d..25d2e70 100644 --- a/tools/testing/selftests/ipc/Makefile +++ b/tools/testing/selftests/ipc/Makefile @@ -12,11 +12,7 @@ endif CFLAGS += -I../../../../usr/include/ all: -ifeq ($(ARCH),x86) - gcc $(CFLAGS) msgque.c -o msgque_test -else - echo "Not an x86 target, can't build msgque selftest" -endif + $(CC) $(CFLAGS) msgque.c -o msgque_test TEST_PROGS := msgque_test