From patchwork Mon Apr 16 14:47:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 133466 Delivered-To: patch@linaro.org Received: by 10.46.84.18 with SMTP id i18csp3653060ljb; Mon, 16 Apr 2018 07:49:04 -0700 (PDT) X-Google-Smtp-Source: AIpwx48BT0s7THOq9g8IwaqtzUMeGGsoRqN3AYgR5WIj4b6EI7Lkn14hanHLpznGVHpy7QyxzPYp X-Received: by 10.101.89.65 with SMTP id g1mr13113385pgu.185.1523890144703; Mon, 16 Apr 2018 07:49:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523890144; cv=none; d=google.com; s=arc-20160816; b=uSor0wcfSizqEfEcJJ9Nzt+Kd1Gv6Db8kwS/MVqLAC1oiE7Dg1G/JNY+0X68ttMVZk vrPOxMbPPK67LhAo0cZJxaCnLM0TWSJNYwxpLcsDVzxVUjIFEMu7CIcN8gMTqY8wY6Ke /vrIc1mMBxG3zZhw7I65Ys2v0+a423ufyDbyLuUeQBI/v2sR4FtGKXqQXmjlmebHVeCE O+r4hg7B6BP5iQo5ZgeJA4w4FE2hRbhDmL5HR3ijXkocPk9s+wTin+RLYZEde78TaDpx MZ6G6l2ikors4AJGFSo032pGF6vUsTG1EFU0+/L2HGGOUudbQXCfFvJ9DnI3pUwG8bpe PDKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=u/JyZf4rXJKqtAzOJ/xV5DQ4UOoLf7ue1MAcnhso4LY=; b=Au9WbUHuucYkDXt7/G4XTV50iWDUK0kBBzZ+t7RUP51jHEPCHyYlS0M2KzRvnHIHqw Z9wl78483+jdGwJH5tAcRzrVAwnZFF0CWGRhwjnL+C+gMdSNUE3Q9aswFF6f9WyDphQN Ky2cmW9859f4OH9bf8SQaLQSnUml2Ye1RGN6wQ8TJnyge4ISarzpZb8SHAhPHpsb4o2D +QqcZ0jqEUPL29id8Yn0yAMMLvmj29HC64Ielg8IMpVeT/4m7qGM+W71avqoDrBTchLf gkTO7U1xL3QBcBURrRTnQMH2Db9TEY0BoZPz5xFpj/u8bIbijHBDfI1JQ1+T+5Lh/tvI VDZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=qWxZ1sf0; 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 n19si3571029pfa.187.2018.04.16.07.49.04; Mon, 16 Apr 2018 07:49:04 -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=qWxZ1sf0; 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 S1752881AbeDPOtB (ORCPT + 29 others); Mon, 16 Apr 2018 10:49:01 -0400 Received: from conuserg-10.nifty.com ([210.131.2.77]:62202 "EHLO conuserg-10.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751172AbeDPOs5 (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 w3GElqto017749; Mon, 16 Apr 2018 23:47:53 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com w3GElqto017749 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1523890073; bh=u/JyZf4rXJKqtAzOJ/xV5DQ4UOoLf7ue1MAcnhso4LY=; h=From:To:Cc:Subject:Date:From; b=qWxZ1sf0UlFUtg6WNwxIDu40vbybWv2GSPifESuC8XgrhZQZXWZobKFpeY9IizFlh vWOPUE02Or/QHapIJkfp2vmI8hT/+cpv4VsVdmDlYPbJiNXtifOL8tJcUBnMiemMWR worrf8FzrCgG5sMq9XR2cXdPX1NDIzoHoJ6lxuLkhWtq40Ug2ohl9rAu1k2QTFTSej ziggZdIJNPO7sKViSkPo4scNG5xroUfXaJ6/ebVmTutcd/fVe7OR+SNPz+mROMGtGi yIa/8x7lzbINB8StN2iaZc/7p58ByCaB6eYnZrWuPxJ4CgieQhquFwiLpssaYdoOo1 /OuFLqa4ZT82g== 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 0/7] MIPS: boot: fix various problems in arch/mips/boot/Makefile Date: Mon, 16 Apr 2018 23:47:40 +0900 Message-Id: <1523890067-13641-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 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. 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