Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp341122rwr; Thu, 4 May 2023 20:31:26 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6dzyDXeSXzogP7FAkR9waqQT+N8YGQDNQUNqu/fYfBQ0+t7ABziPWWxKp6gYkPtwmZlByP X-Received: by 2002:a05:6a00:2d83:b0:643:9ca:3c7d with SMTP id fb3-20020a056a002d8300b0064309ca3c7dmr654645pfb.4.1683257486728; Thu, 04 May 2023 20:31:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683257486; cv=none; d=google.com; s=arc-20160816; b=IiD5/EUmiQTeF/Iib/nd8N6x5J5BwcHU3Ads1JVS/RcspWWB3qlfErp3w3HBguQo1w QN1qpQtPo6BQ9m/jUaWdImisANp6UTXsaO81Ws+xNqYAjWy+iz/RVvUpYtoi66mjutZ9 ZEF4NJI9EJ4zOPa0ztn69JhxLjkWzP5srcLmRMnt6O82Ngx31MuuSNHyntpY5rXivQHO Fb8Q7DJgr0NU9Hphw9R7XZGf6kSN2X1mI1JcRIZGHIt2CQ0PP00Oti8zekzMUIgooMdU hcTKu4vIMnZNwTzqIZa6Gepxz1iQ7UqXo0sTtJCVRobUj32QY8d5R8DwhqQmjbLNIa0Q 9FGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from; bh=cO08HzmVk1n7d0QynKl12ITRwYajT1G6ollIJzLwnQ0=; b=bq/13r8Ll2Pyv3RYAcHxFHI87Ka+OUfj7eWQloi4TivnXrxtGQm4Re0GiSSAxE+OiI SWS6Ca2Dk02ifyAo5e1eNFHtmk+Z9tqo/129/t+Gvi9FXO8N+zke9dyflhxZSVilRbBH wEbYjFzw/m4J5KZaVXk5V4RhSrzAfOBzoX8Elq6uZf/yJilm/NJp4uqbmdH8ORV5mQAX 6FD1wZpMdNnXs+l/CTLRSfzfqrw4PU1vfBGqkYO2o0igcorBQhSOtvjNFyoNz+oQjfCA H7uNALTAWtsPIlxtZfPjnpy446HMS68NQrkZ1EiYzwl8wj1AnK8Q5AnlvihfRBdT/mMY IWJA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w185-20020a6382c2000000b0052c910d862fsi1054379pgd.244.2023.05.04.20.31.12; Thu, 04 May 2023 20:31:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230131AbjEED3z (ORCPT + 99 others); Thu, 4 May 2023 23:29:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230097AbjEED3o (ORCPT ); Thu, 4 May 2023 23:29:44 -0400 Received: from mail-oa1-f54.google.com (mail-oa1-f54.google.com [209.85.160.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE76393CB; Thu, 4 May 2023 20:29:42 -0700 (PDT) Received: by mail-oa1-f54.google.com with SMTP id 586e51a60fabf-192798cf019so1131479fac.3; Thu, 04 May 2023 20:29:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683257382; x=1685849382; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cO08HzmVk1n7d0QynKl12ITRwYajT1G6ollIJzLwnQ0=; b=c+S201u7ip3LT2u+haejjTccwQiG6Zo9aVmfX1GnNAVcrf3LzSROGKyERKOIiT6YUA Ry8TjYRyqB1u4JADhw5Ot7ysE5+MQchCuNfC1BGLkHVMYYgx6SQD1HA7hlI5vx1PbT89 xuLU2X+NFiom25JZQc8lSBiDpd484e+CPIZsSGDiHdeUyRg5peYtn24BWEmaE6BXu8Fj lYSSxukhDLPTNGJ+A371KB2xTc6tFcbLCIp8nR/v93WjdSM4XiF09Jec2bjEKPsG/NJe WoAira6AtAfj4Vua3kJJMEuoOx8v7eiOC3WDAR2HF3TcIqg8y01oC40NIu3FEJU23Z2N 99wg== X-Gm-Message-State: AC+VfDy69aAEQtSmaLuEvJgdWAY5RC19XFRBXbD1unweqbhBsmIqlcyI aLNSZSnl+/tkkq358NSJhnJa4MHTYQ== X-Received: by 2002:a05:6808:308f:b0:38c:3c53:9e15 with SMTP id bl15-20020a056808308f00b0038c3c539e15mr3141116oib.13.1683257381863; Thu, 04 May 2023 20:29:41 -0700 (PDT) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id w12-20020a056808090c00b0038c235e24fesm2259619oih.48.2023.05.04.20.29.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 May 2023 20:29:41 -0700 (PDT) Received: (nullmailer pid 1056850 invoked by uid 1000); Fri, 05 May 2023 03:29:31 -0000 From: Rob Herring Date: Thu, 04 May 2023 22:29:28 -0500 Subject: [PATCH 3/4] kbuild: Support flat DTBs install MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230504-arm-dts-mv-v1-3-2c8e51a2b6c4@kernel.org> References: <20230504-arm-dts-mv-v1-0-2c8e51a2b6c4@kernel.org> In-Reply-To: <20230504-arm-dts-mv-v1-0-2c8e51a2b6c4@kernel.org> To: soc@kernel.org, Christian Marangi , Krzysztof Kozlowski , Russell King , Masahiro Yamada , =?UTF-8?Q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam , Shawn Guo , Sascha Hauer , Fabio Estevam , Antoine Tenart , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Linus Walleij , Sudeep Holla , Joel Stanley , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Lars Persson , Scott Branden , Florian Fainelli , Andre Przywara , Baruch Siach , Wei Xu , Jean-Marie Verdun , Nick Hawkins , Maxime Coquelin , Alexandre Torgue , Vladimir Zapolskiy , Andrew Lunn , Gregory Clement , Lubomir Rintel , Matthias Brugger , Peter Rosin , Nancy Yuen , Benjamin Fair , =?UTF-8?Q?Jonathan_Neusch=C3=A4fer?= , Thierry Reding , Bjorn Andersson , Geert Uytterhoeven , Heiko Stuebner , Daniel Palmer , Romain Perier , Kunihiko Hayashi , Masami Hiramatsu , Viresh Kumar , Shiraz Hashim , Patrice Chotard , Marek Vasut , Qin Jian , Jisheng Zhang , Tony Lindgren , Paul Barker , Bartosz Golaszewski , Nishanth Menon , Santosh Shilimkar , Enric Balletbo i Serra , Javier Martinez Canillas , Michal Simek Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@axis.com X-Mailer: b4 0.13-dev X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In preparation to move Arm .dts files into sub-directories grouped by vendor/family, the current flat tree of DTBs generated by dtbs_install needs to be maintained. Moving the installed DTBs to sub-directories would break various consumers using 'make dtbs_install'. This is a NOP until sub-directories are introduced. Signed-off-by: Rob Herring --- arch/arm/Kconfig | 3 +++ scripts/Makefile.dtbinst | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index e24a9820e12f..7a3b1176f19d 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1463,6 +1463,9 @@ config USE_OF help Include support for flattened device tree machine descriptions. +config ARCH_WANT_FLAT_DTB_INSTALL + def_bool y + config ATAGS bool "Support for the traditional ATAGS boot data passing" default y diff --git a/scripts/Makefile.dtbinst b/scripts/Makefile.dtbinst index 2ab936e4179d..4405d5b67578 100644 --- a/scripts/Makefile.dtbinst +++ b/scripts/Makefile.dtbinst @@ -34,6 +34,6 @@ $(dst)/%.dtbo: $(obj)/%.dtbo PHONY += $(subdirs) $(subdirs): - $(Q)$(MAKE) $(dtbinst)=$@ dst=$(patsubst $(obj)/%,$(dst)/%,$@) + $(Q)$(MAKE) $(dtbinst)=$@ dst=$(if $(CONFIG_ARCH_WANT_FLAT_DTB_INSTALL),$(dst),$(patsubst $(obj)/%,$(dst)/%,$@)) .PHONY: $(PHONY) -- 2.39.2