Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2169575imm; Sat, 2 Jun 2018 20:01:26 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIkEYqEIrT7MtCidlAm97VaU+7bhDbYeC/e66HiTyGyRlHp1w7pYrGCEsMOodcXw2NC/v5S X-Received: by 2002:a62:e816:: with SMTP id c22-v6mr12293556pfi.124.1527994886085; Sat, 02 Jun 2018 20:01:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527994886; cv=none; d=google.com; s=arc-20160816; b=fQManOiyZ5yeMPjv8XMCfTs+R718AlR/YVMJsTqY7QDt81XJQIdhvSSLsdOLLmGA0P lC2QBmD61312y9nGkZoOh/vFhReNu2WyixnHU1woKkW+0CiXsQEN6FS7wuXx8wx7OyCU 5LEuXPe0YfJRQZVDnXqecbBvlnitB281M+FeBE2qeqzvtMF+oDq4PtiOdjuBCv7GhOba yXc21hs21pQgRamXQ/YOA2meOlND4WmEk1mi049357dwV+/vpU7fz7AGEKbowlDQvTPj LzIeec724zUeEGe8oZp6Yd9Xmnz9MFJU38SAIRNeWK1IOrKLr7AgBdTbh4ixaQhVp71O cvbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature:dkim-filter :arc-authentication-results; bh=RfwPwMMDl1+QYwFjlPqM5nZ/xKMMnLO9++EcwDdoOA8=; b=0p93gBpgYAjEBjAipMzAB1H1dykDo6L7jmF1v5kWAh0KhscuxyF8mXaMJ86suQbeJ0 I+sgdoGVjQ+qsHBBVLIAz9ZhUN9TZtFm9MN+4MxIf0vzqJ+/55+6IE3mBoA2FesAaNgY pm1z6wqrDioOQelCMDbiG/t1G2KuiQEF7JojG0O8yWtzTczu2OnyBAU1efXF8XxkOTjW LsiXYGTaZWcLX51j+OLP8YhsfI+yHaH4PBlLdJm1a/IwpDJxYgi8/vsZls75HFfilhC0 N6V16SdjsMLBcBVTtup4uA7vBC8QOhVx0O4GuuaOwigRfelSwuimfemS7eP2g1OmZsfO 1g4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=NvwKHQoq; 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 f13-v6si1976460pgv.374.2018.06.02.20.00.59; Sat, 02 Jun 2018 20:01:26 -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=NvwKHQoq; 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 S1751005AbeFCDAX (ORCPT + 99 others); Sat, 2 Jun 2018 23:00:23 -0400 Received: from conssluserg-05.nifty.com ([210.131.2.90]:39246 "EHLO conssluserg-05.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750871AbeFCDAW (ORCPT ); Sat, 2 Jun 2018 23:00:22 -0400 Received: from mail-vk0-f51.google.com (mail-vk0-f51.google.com [209.85.213.51]) (authenticated) by conssluserg-05.nifty.com with ESMTP id w53304OW017870 for ; Sun, 3 Jun 2018 12:00:05 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com w53304OW017870 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1527994805; bh=RfwPwMMDl1+QYwFjlPqM5nZ/xKMMnLO9++EcwDdoOA8=; h=In-Reply-To:References:From:Date:Subject:To:Cc:From; b=NvwKHQoqxRRoEMLrjejqHRh/Gi278oBFOEvFLFZrbUGwmhsL2jKIulTTnlpbJV+eX 8GwT1S/ensyORGuydEs2nJDKuV/9JcHCLCMToIkV/Xxl/bgzPQM2AkagOlPzdcTR86 PE3/TtsNP//qLURepOnhgElVS+L7X/qNw0kSDRdl6DeRxH217nGNvEz9P/vWJa8EII GhtXLvwHmYq17b/HRc+PlfVJP0Y+4fdd1Zt/9GOvc+26ii+ave/ieHSDe77zQom8Uf fFVzPtcHOeFlYhULewu9nvoshwWn5IfwBtIcbn6VFeCS/jt8xE+dOCCqWRq9UV5kpw F39YrxMvOjamg== X-Nifty-SrcIP: [209.85.213.51] Received: by mail-vk0-f51.google.com with SMTP id b77-v6so5081655vkb.5 for ; Sat, 02 Jun 2018 20:00:05 -0700 (PDT) X-Gm-Message-State: ALKqPwcSkTwD3YbPTVI+7xJOxLZ3O+kNXXyaIEukhELLK2i3e8nLb1Ua xV51PckTrZXNm2nvyWr5/p/Ygn1Djrei7d3kVuw= X-Received: by 2002:a1f:acc4:: with SMTP id v187-v6mr9925292vke.11.1527994804040; Sat, 02 Jun 2018 20:00:04 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:20ab:0:0:0:0:0 with HTTP; Sat, 2 Jun 2018 19:59:23 -0700 (PDT) In-Reply-To: <1523890067-13641-1-git-send-email-yamada.masahiro@socionext.com> References: <1523890067-13641-1-git-send-email-yamada.masahiro@socionext.com> From: Masahiro Yamada Date: Sun, 3 Jun 2018 11:59:23 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/7] MIPS: boot: fix various problems in arch/mips/boot/Makefile To: Ralf Baechle , James Hogan , Linux-MIPS Cc: Paul Burton , Masahiro Yamada , Kees Cook , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi MIPS maintainers, 2018-04-16 23:47 GMT+09:00 Masahiro Yamada : > > When I was trying to fix commit 0f9da844d877 in a more correct way, > I found various problems in arch/mips/boot/Makefile. > > ITS is always rebuilt when you rebuild the kernel without touching > anything. Many build rules are wrong. > > If you look at the last patch in this series, you may realize > supporting ITB building in the kernel can cause nasty problems. > Personally, I do not like it, but I tried my best to fix the problems. > > With this series, ITB is rebuilt only when necessary. > Is any part of this series applicable? At least, patch 1-4 look simple to me. Patch 5-7 should be applied together. The last one is a bit tricky, so you can ignore 5-7 if you do not like them. (Only the problem is, ITB files are always rebuilt even if nothing is changed.) > > Masahiro Yamada (7): > Revert "MIPS: boot: Define __ASSEMBLY__ for its.S build" > MIPS: boot: do not include $(cpp_flags) for preprocessing ITS > MIPS: boot: fix build rule of vmlinux.its.S > MIPS: boot: correct prerequisite image of vmlinux.*.its > MIPS: boot: add missing targets for vmlinux.*.its > MIPS: boot: merge build rules of vmlinux.*.itb by using pattern rule > MIPS: boot: rebuild ITB when contained DTB is updated > > arch/mips/boot/Makefile | 69 ++++++++++++++++++++++++++----------------------- > 1 file changed, 37 insertions(+), 32 deletions(-) > > -- > 2.7.4 > -- Best Regards Masahiro Yamada