From patchwork Fri Dec 23 04:46:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 88913 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp3151240qgi; Thu, 22 Dec 2016 20:47:49 -0800 (PST) X-Received: by 10.99.108.8 with SMTP id h8mr22618875pgc.93.1482468468958; Thu, 22 Dec 2016 20:47:48 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g25si32879661pge.186.2016.12.22.20.47.48; Thu, 22 Dec 2016 20:47:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935399AbcLWErj (ORCPT + 25 others); Thu, 22 Dec 2016 23:47:39 -0500 Received: from conuserg-12.nifty.com ([210.131.2.79]:38972 "EHLO conuserg-12.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751050AbcLWErh (ORCPT ); Thu, 22 Dec 2016 23:47:37 -0500 Received: from grover.sesame (FL1-111-169-71-157.osk.mesh.ad.jp [111.169.71.157]) (authenticated) by conuserg-12.nifty.com with ESMTP id uBN4kpQh011545; Fri, 23 Dec 2016 13:46:55 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com uBN4kpQh011545 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1482468415; bh=7Yt2klzWpQZdxf7PiX4rGQN5MnJ8eN4pBUhiAqvMcEo=; h=From:To:Cc:Subject:Date:From; b=dv8CuDmdUmhpIdKFLjcGCeUGQg+INu+G+GiFE6Oz4yk6OuXVAQwIz6GL2j1lSYtwu +6rEWPeIwuWZ6xbB5BTqS1TCWu4tk9b0945zhdpvG1Dk2Z6SwMj2MFVIbH/RnnYNvv RZp6Nqtrzlr76c4iW9r5mL6S2KnFiRKyB/6zC2bBO+oGfTvJHzcsZBqXIcbCfSvRaM 4U8JUUU5/5SUBvXd40n4FXI2umY3zDf0rLDCCpcSZqiGwAFAvbBxpOnUCscB+2tz0X db1BHa6wwIeyHYoxNLJxFCcYkUBwZWRJdv55eqL3lRsS/x4w1Eo7x4LBezu5jwepB1 LTmaxnbWYl95Q== X-Nifty-SrcIP: [111.169.71.157] From: Masahiro Yamada To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , Masahiro Yamada , Wang Nan , linux-kernel@vger.kernel.org, Michal Marek , Jiri Olsa Subject: [PATCH] tools build: replace $(CC) -E with $(CPP) for pre-processing Date: Fri, 23 Dec 2016 13:46:42 +0900 Message-Id: <1482468402-7782-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The top-level Makefile defines: CPP = $(CC) -E So, $(CC) -E can be replaced with $(CPP) and this makes more sense for pre-processing. Signed-off-by: Masahiro Yamada --- tools/build/Makefile.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/tools/build/Makefile.build b/tools/build/Makefile.build index 99c0ccd..4a0ec5c 100644 --- a/tools/build/Makefile.build +++ b/tools/build/Makefile.build @@ -65,7 +65,7 @@ quiet_cmd_cxx_o_c = CXX $@ cmd_cxx_o_c = $(CXX) $(cxx_flags) -c -o $@ $< quiet_cmd_cpp_i_c = CPP $@ - cmd_cpp_i_c = $(CC) $(c_flags) -E -o $@ $< + cmd_cpp_i_c = $(CPP) $(c_flags) -o $@ $< quiet_cmd_cc_s_c = AS $@ cmd_cc_s_c = $(CC) $(c_flags) -S -o $@ $<