Received: by 10.192.165.156 with SMTP id m28csp731504imm; Mon, 16 Apr 2018 07:52:44 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/SKf9DzCb/48fDCLCsC8UMx/zF/pf2kG237jR3lxeq5oB4apvcBTEUWZdhwq+e0ea/faaU X-Received: by 2002:a17:902:bcc5:: with SMTP id o5-v6mr15943441pls.179.1523890364465; Mon, 16 Apr 2018 07:52:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523890364; cv=none; d=google.com; s=arc-20160816; b=HxutWBE+2sIk8zfKQ4tNTLw6BNhb4/V5qFsfhgNp+YTGsCbg4gjJwLjX7HMnXiQAh6 7ZtIxuMygtWPAMixrK+uNINUGBxFWA/yxBpbxLHzj479GzhO8ZvtWFYyj7u6ZPX37EDu GJOo/e7IZWMXd/sizb6gn/qM5aQsG/PWtP/vEqxUAyyPGqNjS5jnT56+bAkhGwYqBCyZ 3Lo+wHINaWjoEKnrGBIZ4VG6aVfsFbmoeDpEe6f+87SX8NTTGLKh29hp+CDmlYe/IDDx 2WBAzSkyUwJ0vvhDmdNCb58qiFDKPB9ZMXK0HtAvRFtDLzTiSd2Ootr+j+1Y3fVIv24l h5xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=oI55uYqr0ZldDMV7KaPiWVBquuUvS9m0s8FRGZ8XxEI=; b=TlERUnT6Q1/NW4seyscts2KTpjh94DVIYdk4/InqJpOcqWBeboTr9+4kiwMo0Zl7bk jN1YN8qvuAGUb+r143xTKLq2iCqGM7PBSvXB3TXmOoPkbEMX54BX3KelNF8Wt86nMBqX rv8w8vko79Nqlu5K1wxuHedtpHuuyTt7HpLpMTA8QTLE7uWiD94P+/N6moyUSxbilw2r BYUUfmzBCpARqdfpt4xKr9lr1LeZVNCPA4IATMvN5hPjsgnGDuimLM4jPqtJfRg/0ki6 bbefqCm3xfE3+pcgn7vZEgNDlPLwbfN5ddGSSXdfA+OKO4DvsAkkFgRQuubF8g8fcg6r dK8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=EyVhZFQL; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y11-v6si11268739pln.525.2018.04.16.07.52.30; Mon, 16 Apr 2018 07:52:44 -0700 (PDT) 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 header.s=dec2015msa header.b=EyVhZFQL; 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 S1752898AbeDPOtD (ORCPT + 99 others); Mon, 16 Apr 2018 10:49:03 -0400 Received: from conuserg-10.nifty.com ([210.131.2.77]:62199 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751193AbeDPOs5 (ORCPT ); Mon, 16 Apr 2018 10:48:57 -0400 Received: from grover.sesame (FL1-125-199-20-195.osk.mesh.ad.jp [125.199.20.195]) (authenticated) by conuserg-10.nifty.com with ESMTP id w3GElqtq017749; Mon, 16 Apr 2018 23:47:55 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com w3GElqtq017749 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1523890075; bh=oI55uYqr0ZldDMV7KaPiWVBquuUvS9m0s8FRGZ8XxEI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EyVhZFQLQhRcd8nv4DsNv6J/PJYXgC7zJ5niPh4Cw7btqwwvrshzz6NcgFbzmdQ5L rReyBooEFv+7DM4fT7WfrLqHa/OpdNb3u0UfEyyAj1xa6RW62zIZUOU5bWBQclQ1jG eM8bHXMaKcnrWVZY0ekg4Hn4Q/4FVRqj6/YaBy5JOy9eVs2YRfLi1jl1724eOvjOw5 5gRDnTFyphOhh9PPEBd4DXmAK27OLALSNWKx1gKxkmoAwycOExhtNF2rFsVxEet1X/ DLUC+SziiHeE49pXrP3TbpeKRNn9qmD9CVw7TfWmkeR4EqjiC+MGhRfg3GOpwP9g7D Pi/r5pBqpcpkA== X-Nifty-SrcIP: [125.199.20.195] From: Masahiro Yamada To: Ralf Baechle , James Hogan , linux-mips@linux-mips.org Cc: Paul Burton , Masahiro Yamada , Kees Cook , linux-kernel@vger.kernel.org Subject: [PATCH 2/7] MIPS: boot: do not include $(cpp_flags) for preprocessing ITS Date: Mon, 16 Apr 2018 23:47:42 +0900 Message-Id: <1523890067-13641-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1523890067-13641-1-git-send-email-yamada.masahiro@socionext.com> References: <1523890067-13641-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org $(CPP) is used here to perform macro replacement in ITS. Do not pass $(cpp_flags) because it pulls in more options for dependency file generation etc. but none of which is necessary here. ITS files do not include any header file, so $(call if_change,...) is enough. Signed-off-by: Masahiro Yamada --- arch/mips/boot/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/mips/boot/Makefile b/arch/mips/boot/Makefile index 1bd5c4f..981bcf8 100644 --- a/arch/mips/boot/Makefile +++ b/arch/mips/boot/Makefile @@ -125,7 +125,7 @@ $(obj)/vmlinux.its.S: $(addprefix $(srctree)/arch/mips/$(PLATFORM)/,$(ITS_INPUTS $(call if_changed,its_cat) quiet_cmd_cpp_its_S = ITS $@ - cmd_cpp_its_S = $(CPP) $(cpp_flags) -P -C -o $@ $< \ + cmd_cpp_its_S = $(CPP) -P -C -o $@ $< \ -DKERNEL_NAME="\"Linux $(KERNELRELEASE)\"" \ -DVMLINUX_BINARY="\"$(3)\"" \ -DVMLINUX_COMPRESSION="\"$(2)\"" \ @@ -135,19 +135,19 @@ quiet_cmd_cpp_its_S = ITS $@ -DADDR_CELLS=$(itb_addr_cells) $(obj)/vmlinux.its: $(obj)/vmlinux.its.S $(VMLINUX) FORCE - $(call if_changed_dep,cpp_its_S,none,vmlinux.bin) + $(call if_changed,cpp_its_S,none,vmlinux.bin) $(obj)/vmlinux.gz.its: $(obj)/vmlinux.its.S $(VMLINUX) FORCE - $(call if_changed_dep,cpp_its_S,gzip,vmlinux.bin.gz) + $(call if_changed,cpp_its_S,gzip,vmlinux.bin.gz) $(obj)/vmlinux.bz2.its: $(obj)/vmlinux.its.S $(VMLINUX) FORCE - $(call if_changed_dep,cpp_its_S,bzip2,vmlinux.bin.bz2) + $(call if_changed,cpp_its_S,bzip2,vmlinux.bin.bz2) $(obj)/vmlinux.lzma.its: $(obj)/vmlinux.its.S $(VMLINUX) FORCE - $(call if_changed_dep,cpp_its_S,lzma,vmlinux.bin.lzma) + $(call if_changed,cpp_its_S,lzma,vmlinux.bin.lzma) $(obj)/vmlinux.lzo.its: $(obj)/vmlinux.its.S $(VMLINUX) FORCE - $(call if_changed_dep,cpp_its_S,lzo,vmlinux.bin.lzo) + $(call if_changed,cpp_its_S,lzo,vmlinux.bin.lzo) quiet_cmd_itb-image = ITB $@ cmd_itb-image = \ -- 2.7.4