Message ID | 1427930420-4762-4-git-send-email-tyler.baker@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDEP3ZF5REFRBCH36GUAKGQEIZUJ4OQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6624F2159A for <linaro@patches.linaro.org>; Wed, 1 Apr 2015 23:21:45 +0000 (UTC) Received: by wibgr10 with SMTP id gr10sf14904834wib.2 for <linaro@patches.linaro.org>; Wed, 01 Apr 2015 16:21: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: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=umKa/1qEGz8gwtKc4xyg0YkshwYtD0DJBgdTfizqoNY=; b=hKxmoXIIBJ81eZRxkZb9c0+sQ6rXu3bz1jRuiaK5u/HtrJrnn+f2TEvGhkdaG1j24H AdjL1hUwg9BXuJusN+pPT7tK/9rwgZN2oMcLBvxlBFik/X6DWsaKEDgCczcZQxQSWpnj tC+trcZBa+1qL0kSCAkGBA6BZMT/0tvDkwwlnJODPW04Zsi6Mc7Oj0FShkZfNBdPRtzS 72q2ZL2za5yxRdaF1UrXWlqKTdk9xEcBvJshSDFhjrtjCSylbcyhK5+G0QjWaAL57VI6 jjRwtG7UjxXUdZ20w5YHBbdjEVqQLw2c7m/uWiV9LHKg7OnTojFPhvvTnBYSXTvwBi6j 3+1w== X-Gm-Message-State: ALoCoQlGt41IKTLDiTo6kgVwFHrI3/HK5H8InfFhq6ym3/iyYGKbZkHvI0td1sY2OiEI32I4Xe1q X-Received: by 10.180.90.169 with SMTP id bx9mr2458095wib.6.1427930504664; Wed, 01 Apr 2015 16:21:44 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.43.199 with SMTP id y7ls145030lal.63.gmail; Wed, 01 Apr 2015 16:21:44 -0700 (PDT) X-Received: by 10.153.5.37 with SMTP id cj5mr38526147lad.14.1427930504347; Wed, 01 Apr 2015 16:21:44 -0700 (PDT) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id l4si2780800lbg.1.2015.04.01.16.21.44 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Apr 2015 16:21:44 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by lbbzk7 with SMTP id zk7so31353500lbb.0 for <patchwork-forward@linaro.org>; Wed, 01 Apr 2015 16:21:44 -0700 (PDT) X-Received: by 10.112.125.167 with SMTP id mr7mr11433840lbb.106.1427930504259; Wed, 01 Apr 2015 16:21:44 -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 k9csp972426lbq; Wed, 1 Apr 2015 16:21:43 -0700 (PDT) X-Received: by 10.66.144.201 with SMTP id so9mr82151923pab.78.1427930502571; Wed, 01 Apr 2015 16:21:42 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id go3si4810626pbc.44.2015.04.01.16.21.41; Wed, 01 Apr 2015 16:21:42 -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 S1753100AbbDAXVh (ORCPT <rfc822;ivan.khoronzhuk@linaro.org> + 27 others); Wed, 1 Apr 2015 19:21:37 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:33401 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752783AbbDAXUj (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 1 Apr 2015 19:20:39 -0400 Received: by pacgg7 with SMTP id gg7so65921366pac.0 for <linux-kernel@vger.kernel.org>; Wed, 01 Apr 2015 16:20:38 -0700 (PDT) X-Received: by 10.68.238.200 with SMTP id vm8mr49496513pbc.15.1427930438535; Wed, 01 Apr 2015 16:20:38 -0700 (PDT) Received: from localhost.localdomain ([173.14.250.228]) by mx.google.com with ESMTPSA id qz3sm3210197pab.13.2015.04.01.16.20.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 01 Apr 2015 16:20:37 -0700 (PDT) From: Tyler Baker <tyler.baker@linaro.org> To: Shuah Khan <shuahkh@osg.samsung.com> Cc: Kevin Hilman <khilman@kernel.org>, John Stultz <john.stultz@linaro.org>, Darren Hart <dvhart@infradead.org>, David Herrmann <dh.herrmann@gmail.com>, Michael Ellerman <mpe@ellerman.id.au>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Tyler Baker <tyler.baker@linaro.org> Subject: [PATCH 3/6] selftest/mount: enable cross compilation Date: Wed, 1 Apr 2015 16:20:17 -0700 Message-Id: <1427930420-4762-4-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: <patchwork-forward.linaro.org> 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.177 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: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/tools/testing/selftests/mount/Makefile b/tools/testing/selftests/mount/Makefile index a5b367f..95580a9 100644 --- a/tools/testing/selftests/mount/Makefile +++ b/tools/testing/selftests/mount/Makefile @@ -1,9 +1,10 @@ # Makefile for mount selftests. - +CFLAGS = -Wall \ + -O2 all: unprivileged-remount-test unprivileged-remount-test: unprivileged-remount-test.c - gcc -Wall -O2 unprivileged-remount-test.c -o unprivileged-remount-test + $(CC) $(CFLAGS) unprivileged-remount-test.c -o unprivileged-remount-test include ../lib.mk
Use the CC variable instead of hard coding gcc. Also clean up the compiler options by creating a CFLAGS variable. Signed-off-by: Tyler Baker <tyler.baker@linaro.org> --- tools/testing/selftests/mount/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)