From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 86E29C67871 for ; Mon, 24 Oct 2022 22:02:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FYJUBFiC/wPRiCdUM0vRS8bRcZjSeSpKTuA62qcBSN4=; b=dgJBUA2UFWF703 eN5OIpMUkVDSkchilpxrOiMLeXExYU/ofJFAJbBAhWcrdReL9n47jLvUGjSD+tS0rEZG8YSv+x9cu f8fyS/R3Sy2L6N29fDknvnJ1vQgnFzL0SKCWNdoCnMhXm74uxS4A3jcsYh7aMcrmV0UjvUAuuXLY9 IY6zJ9R9QMp+4H5lbS2xw9syJxSvYo5dpEmDjQvFvkatDDLMcymNqEVZAMNivgfTYtJB9oCIp1GoS dNOeMQnmTUbVPH+iTIJTUm2fcKJeyHo0kpw1UofuN3Wq5SE2VS04S8Xb2jJr5/zdFZHE29zhfUhR0 Vymuzo6hKwiXsr2/CvPQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1on5Vy-003BJA-4c; Mon, 24 Oct 2022 22:01:46 +0000 Received: from mail-io1-xd2c.google.com ([2607:f8b0:4864:20::d2c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1on5Vu-003BIR-Sm for linux-arm-kernel@lists.infradead.org; Mon, 24 Oct 2022 22:01:44 +0000 Received: by mail-io1-xd2c.google.com with SMTP id b79so8897789iof.5 for ; Mon, 24 Oct 2022 15:01:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=iCVvqcbtryqkba55ajfW30/hhAqAey3voyUhIcczG7M=; b=k/yMzxKN4O9CuIG2TeoPuCZX8tR28S/zIO/DMm9skNax/0ZGiRi3KnqAxfvVdhxQgd mfM77go/T9zPJ2m+Ah0m29PXxfzHUsj0pKFSqmEQpkfbix6x3255hbO0kH3qE36fDa9a 9bGE5miMjx7uL3w+6JKd9R3w6MYBXIyvW+naaJ1GI5vov+gafXo9iZIyhRZuTB6J0azk e8yQx3qqmKQDMg1ybvER2wdbCoNMr/TYcjuB77FBzWnl8TWzhynSNfv2hF8FgzxZF/EL 1dLEXNs76kqJ8lOhPB/Zykm3NmnxRJQpW684o5ppGAKuQS3QrfV6p35vHapqq26aTp1I EB/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=iCVvqcbtryqkba55ajfW30/hhAqAey3voyUhIcczG7M=; b=Z84CefoO1bBE9SOf1cp4GY5ob+t0YVtp7h2tQ195aNDgYCf793daHIhDsSAn4tqZU0 NjIe+zLN8XpcwPf3r5519raLtAS9f++SEcAeOiDcEwkHnx2uOizHUxZtJP+XbWvmKkNm EGUHFG3wqAERjgC56Tg3kU89bcqKfszLrQvqhIrhI8c6gbY+RolxXYLuQhwTStjBrbVl t3Z6hVgO3yercUeMRiDLEAAkeT/ijxeRHFtaVnkG0Pctw0xhtGdSq1+YYMczl5RmzAKq FEt2wgBhPDtQPjIkb8u0YLzJmszOz80bokCEvEQTvG7UjVwCDyIRqQZezKuDQsInGxq9 1pxg== X-Gm-Message-State: ACrzQf01OTiaDyivX96ml+2GNkGMObazSVJ4i9dhMXX33Fl0+UE62wA9 m1pNN1TKi+XUBJD2QbCoxZ0= X-Google-Smtp-Source: AMsMyM4c7c0r3zBwwZ7I7IPHzKNxH3p9ZAkVLOPu5ptxF2+B6ZMa4GlxQWLzQae7hJt8jjF5atZehw== X-Received: by 2002:a02:a487:0:b0:363:fc40:edf5 with SMTP id d7-20020a02a487000000b00363fc40edf5mr22740252jam.233.1666648900481; Mon, 24 Oct 2022 15:01:40 -0700 (PDT) Received: from ?IPV6:2600:1700:2442:6db0:b8cc:2162:7a0f:fd4b? ([2600:1700:2442:6db0:b8cc:2162:7a0f:fd4b]) by smtp.gmail.com with ESMTPSA id v2-20020a056602058200b006bcbe33eca6sm362168iox.14.2022.10.24.15.01.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Oct 2022 15:01:39 -0700 (PDT) Message-ID: <8cc34d10-a087-5ccf-ec0e-df87ff0d95f9@gmail.com> Date: Mon, 24 Oct 2022 17:01:38 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v2 1/7] kbuild: Allow DTB overlays to built from .dtso named source files Content-Language: en-US To: Andrew Davis , Shawn Guo , Li Yang , Sascha Hauer , Rob Herring , Krzysztof Kozlowski , Nishanth Menon , Vignesh Raghavendra , Masahiro Yamada , Michal Marek , Nick Desaulniers , Geert Uytterhoeven Cc: devicetree@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20221024173434.32518-1-afd@ti.com> <20221024173434.32518-2-afd@ti.com> From: Frank Rowand In-Reply-To: <20221024173434.32518-2-afd@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221024_150142_974637_F31210E0 X-CRM114-Status: GOOD ( 19.99 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 10/24/22 12:34, Andrew Davis wrote: > Currently DTB Overlays (.dtbo) are build from source files with the same > extension (.dts) as the base DTs (.dtb). This may become confusing and > even lead to wrong results. For example, a composite DTB (created from a > base DTB and a set of overlays) might have the same name as one of the > overlays that create it. > > Different files should be generated from differently named sources. > .dtb <-> .dts > .dtbo <-> .dtso > > We do not remove the ability to compile DTBO files from .dts files here, > only add a new rule allowing the .dtso file name. The current .dts named > overlays can be renamed with time. After all have been renamed we can > remove the other rule. > > Signed-off-by: Andrew Davis > Reviewed-by: Geert Uytterhoeven > Tested-by: Geert Uytterhoeven > --- Reviewed-by: Frank Rowand Tested-by: Frank Rowand -Frank > scripts/Makefile.lib | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib > index 3aa384cec76b8..0376a6f18bfb1 100644 > --- a/scripts/Makefile.lib > +++ b/scripts/Makefile.lib > @@ -408,6 +408,9 @@ $(obj)/%.dtb: $(src)/%.dts $(DTC) $(DT_TMP_SCHEMA) FORCE > $(obj)/%.dtbo: $(src)/%.dts $(DTC) FORCE > $(call if_changed_dep,dtc) > > +$(obj)/%.dtbo: $(src)/%.dtso $(DTC) FORCE > + $(call if_changed_dep,dtc) > + > dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp) > > # Bzip2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel