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: 46673 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A85712159A for ; Wed, 1 Apr 2015 23:21:10 +0000 (UTC) Received: by wgfh4 with SMTP id h4sf13462631wgf.1 for ; Wed, 01 Apr 2015 16:21:09 -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:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=GOO0tM4p1YTNMyOI/2BtqE2tnF4WztYpS0rPjspLE4I=; b=UKBEYVBXBF5K/KEw+vgiQMLwCwlBHun05gk5nRkAbmRQKh8VgESdtHyNNkVl4Cm3eI WyjXWvVxEkVIvEZTLA4dwA/9wqLLHR1Ww1WY373bSOox1e7SOCmAc7xcyRH9iSKjcqgc CRS4BU7gp9ckBkYy/+T2xQXvaB2IewE3kytbg//V4nxq5cltXTyi6nlj6LsMOyCI7UA6 G0PN3JjfscLObNaJ6AvTC+mdYt805TjT0X0jisv/tIJttse2AWpAaNXpnH3MFvZkNeX/ dTJjT2j9L1JuT4XkT3VZm/rDToYivgS80RjqE2dalld3FyP1hwVcwS4cKjRSGC3hApta u1wg== X-Gm-Message-State: ALoCoQknKDBfEJnDvkKt1avZihZID9Y3tiUDon9JR1PgPd6PmRjn85ExYh7kNOjA7q0KryCdDuVH X-Received: by 10.112.162.135 with SMTP id ya7mr10022256lbb.14.1427930469868; Wed, 01 Apr 2015 16:21:09 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.198.232 with SMTP id jf8ls144694lac.83.gmail; Wed, 01 Apr 2015 16:21:09 -0700 (PDT) X-Received: by 10.152.6.34 with SMTP id x2mr11072500lax.47.1427930469569; Wed, 01 Apr 2015 16:21:09 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id x8si2748151lax.123.2015.04.01.16.21.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Apr 2015 16:21:09 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by labe2 with SMTP id e2so48210455lab.3 for ; Wed, 01 Apr 2015 16:21:09 -0700 (PDT) X-Received: by 10.152.87.135 with SMTP id ay7mr22900445lab.88.1427930469348; Wed, 01 Apr 2015 16:21:09 -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.57.201 with SMTP id k9csp972204lbq; Wed, 1 Apr 2015 16:21:08 -0700 (PDT) X-Received: by 10.70.90.233 with SMTP id bz9mr81428792pdb.47.1427930465464; Wed, 01 Apr 2015 16:21:05 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id wl5si4839836pab.105.2015.04.01.16.21.04; Wed, 01 Apr 2015 16:21:05 -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 S1752972AbbDAXUw (ORCPT + 27 others); Wed, 1 Apr 2015 19:20:52 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:33519 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752855AbbDAXUp (ORCPT ); Wed, 1 Apr 2015 19:20:45 -0400 Received: by pacgg7 with SMTP id gg7so65923626pac.0 for ; Wed, 01 Apr 2015 16:20:44 -0700 (PDT) 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 Cc: 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 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> 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.215.54 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: , 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