Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1321921imm; Thu, 6 Sep 2018 20:54:42 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbVlD7VkoEGYugPgQoAYprJFe+MJn/kSlWuVT7r9psCURXbHdPnhhY+9zBB/YZrSJdwk9VT X-Received: by 2002:a63:f344:: with SMTP id t4-v6mr6194651pgj.428.1536292482492; Thu, 06 Sep 2018 20:54:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536292482; cv=none; d=google.com; s=arc-20160816; b=gDZmbLsfOKlqGMYA/Y03+t4aHzyoToynzSZGO2CfR+yZnMJOkMSaMWO0X4opd6MhZm OFiXdhqec7mcNSlZuNVbNzTOQbHx+vOPlkdVW7zvgoyWMuCPs1jeZcmG/JtePda5eZ61 ZYsc8xq4tL7Js+c7ewa5Do8KIF83P7nREG2HL8cGuqBnzjYJH1O66yGuoXTtRiqYBRwl oyx0AJK2725bc3tTU+5IP6vtv3qh7Y+SNdVbCOv+9R1ybbjnPZaIT7CoZUjyYAn53Vu1 h9FjLiHvOYbm+VN89+pwsWO+uLAzdujbSqBSurrwWtaLxp4HCe/3GHmG4QE63XyXslR/ CVhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id; bh=J781AHlajyph2y8jwQcEVW/7r/nk1icLnX0dJt/rAd8=; b=Q5//iQp/70hftXuZ2ZTxVUEuY0fCKZ/OWODPDFvVk1Mf0TdWr3H2ehfWjUnQW24ppX AGLzxTZJFOEeZjtWcuXINXxt8C3fc0446foOwTlxcCE6tw1mXTgMxqO3iGeIFGuL+AEc 2cXSkD0iIN3VYpjSfVUZV+/GlnfcLkN+b8gkzRyqHjYvkbSLKoiAOiVebK7aFSOd5DPF yw8ZMivODL5sm3XPpQbSMg9GZUaPLy5dgTMouXQINGPpZZs7Djt6eZL0knQPhNV7oj+6 pq6f2G1L4GnkFRH8s/wLMb5LmJ91fQLFzuHqmNR4xlfE/oWSyrpjlChV2ZTyPHJlLje/ HwLA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f8-v6si7481930pln.5.2018.09.06.20.54.27; Thu, 06 Sep 2018 20:54:42 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728886AbeIGGqz convert rfc822-to-8bit (ORCPT + 99 others); Fri, 7 Sep 2018 02:46:55 -0400 Received: from mga06.intel.com ([134.134.136.31]:48665 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727841AbeIGGqy (ORCPT ); Fri, 7 Sep 2018 02:46:54 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Sep 2018 19:08:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,340,1531810800"; d="scan'208";a="68183565" Received: from lftan-mobl.gar.corp.intel.com (HELO ubuntu) ([10.226.248.86]) by fmsmga007.fm.intel.com with SMTP; 06 Sep 2018 19:08:21 -0700 Received: by ubuntu (sSMTP sendmail emulation); Fri, 07 Sep 2018 10:08:20 +0800 Message-ID: <1536286099.6128.1.camel@intel.com> Subject: Re: [PATCH v2 6/9] kbuild: consolidate Devicetree dtb build rules From: Ley Foon Tan To: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Masahiro Yamada Cc: Michal Marek , Vineet Gupta , Russell King , Catalin Marinas , Will Deacon , 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 Date: Fri, 07 Sep 2018 10:08:19 +0800 In-Reply-To: <20180905235327.5996-7-robh@kernel.org> References: <20180905235327.5996-1-robh@kernel.org> <20180905235327.5996-7-robh@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Mailer: Evolution 3.18.5.2-0ubuntu3.1 Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2018-09-05 at 18:53 -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 nios2: Acked-by: Ley Foon Tan Regards Ley Foon