Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp338210imm; Thu, 6 Sep 2018 03:20:37 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbXyOVrrzxiEt8RdNiZnhi5vF7CDZ4mCDrhPfdh5ia3CWm8iU8y6Hel25c5jZ64D4drn1/j X-Received: by 2002:a63:5e45:: with SMTP id s66-v6mr1972503pgb.151.1536229236946; Thu, 06 Sep 2018 03:20:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536229236; cv=none; d=google.com; s=arc-20160816; b=AssHGURfgd/2mqnaCa5hGdByhzFODX55bX1zpbLl1oGcXfLjANujDlozCX7+5F0j0x R7ntQgy7T5OQ6lZmyI1g4dPupaF5BxLDf+FZ5Gi/RgVpDJtZXAgaHVA/n3V1dpCIYUOJ +XYvBbmhQP/sIUN69nRHHPl/j5mjz2lhFV7cbu140dVLLt8Fz0TAW30ZQo7kCfmK1uSD +RFK9HjlNmuWY4WC41sdqrvyr36Dd3Yk3ND6sFOiyL38EItWJIW/8oYjqT8yeAstBO9z +J4tQiCX3banjQehgfw61IRx33gd9iv0dH4rTk6WkeRhZHWioe9dnp1pdDYGx6k6GAKc dCWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=wupUr4Fh6vQKmXESEy5jZYoHUKMBIq/SMSN/xAFfeHI=; b=KmRmmHHsmd3WpewXYvn2nhjXA84AgnCaysPEd+QpuyjIzMck68NdecTiXbSmzOUtUL x+KLB6X6b7K/dOtHLtsshsNE38IOLWedHDVdBc0sAGnRoBWP2Yf5HWpRFffV+gknV65o e0Ov8LTgC4enTBtFf233keJGNPIeiKWSqpll3XHvaeGA+SvWh6B/KVKAewXg7dNLZLNl SzMF1Th5+39XRUxTaaZ78Nnsepx9RtzQukyO0hS6ImjdQmmYQzyzSTS2SlvSC/q7tMuZ uTypLUrAgopKBhVA1ykS3m3ZNqpWtvpskDMlVCvdH8CDSAZitgVyJsV7jAqSd97623aT AtzA== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y187-v6si4832601pfy.151.2018.09.06.03.20.21; Thu, 06 Sep 2018 03:20:36 -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; 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 S1728676AbeIFOkP (ORCPT + 99 others); Thu, 6 Sep 2018 10:40:15 -0400 Received: from foss.arm.com ([217.140.101.70]:42472 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728645AbeIFOkP (ORCPT ); Thu, 6 Sep 2018 10:40:15 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id AF24115B2; Thu, 6 Sep 2018 03:05:32 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 7F9793F575; Thu, 6 Sep 2018 03:05:32 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 3E5EB1AE358D; Thu, 6 Sep 2018 11:05:47 +0100 (BST) Date: Thu, 6 Sep 2018 11:05:47 +0100 From: Will Deacon To: Rob Herring Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Masahiro Yamada , Michal Marek , Vineet Gupta , Russell King , Catalin Marinas , Yoshinori Sato , Michal Simek , Ralf Baechle , Paul Burton , James Hogan , Ley Foon Tan , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Chris Zankel , Max Filippov , linux-kbuild@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, uclinux-h8-devel@lists.sourceforge.jp, linux-mips@linux-mips.org, nios2-dev@lists.rocketboards.org, linuxppc-dev@lists.ozlabs.org, linux-xtensa@linux-xtensa.org Subject: Re: [PATCH v2 6/9] kbuild: consolidate Devicetree dtb build rules Message-ID: <20180906100546.GJ3592@arm.com> References: <20180905235327.5996-1-robh@kernel.org> <20180905235327.5996-7-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180905235327.5996-7-robh@kernel.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 05, 2018 at 06:53:24PM -0500, Rob Herring wrote: > There is nothing arch specific about building dtb files other than their > location under /arch/*/boot/dts/. Keeping each arch aligned is a pain. > The dependencies and supported targets are all slightly different. > Also, a cross-compiler for each arch is needed, but really the host > compiler preprocessor is perfectly fine for building dtbs. Move the > build rules to a common location and remove the arch specific ones. This > is done in a single step to avoid warnings about overriding rules. > > The build dependencies had been a mixture of 'scripts' and/or 'prepare'. > These pull in several dependencies some of which need a target compiler > (specifically devicetable-offsets.h) and aren't needed to build dtbs. > All that is really needed is dtc, so adjust the dependencies to only be > dtc. > > This change enables support 'dtbs_install' on some arches which were > missing the target. > > Cc: Masahiro Yamada > Cc: Michal Marek > Cc: Vineet Gupta > Cc: Russell King > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Yoshinori Sato > Cc: Michal Simek > Cc: Ralf Baechle > Cc: Paul Burton > Cc: James Hogan > Cc: Ley Foon Tan > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Michael Ellerman > Cc: Chris Zankel > Cc: Max Filippov > Cc: linux-kbuild@vger.kernel.org > Cc: linux-snps-arc@lists.infradead.org > Cc: linux-arm-kernel@lists.infradead.org > Cc: uclinux-h8-devel@lists.sourceforge.jp > Cc: linux-mips@linux-mips.org > Cc: nios2-dev@lists.rocketboards.org > Cc: linuxppc-dev@lists.ozlabs.org > Cc: linux-xtensa@linux-xtensa.org > Signed-off-by: Rob Herring > --- > Please ack so I can take the whole series via the DT tree. For arm64: Acked-by: Will Deacon Will