[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240905134428.GA1517132-robh@kernel.org>
Date: Thu, 5 Sep 2024 08:44:28 -0500
From: Rob Herring <robh@...nel.org>
To: Masahiro Yamada <masahiroy@...nel.org>
Cc: linux-kbuild@...r.kernel.org, linux-arch@...r.kernel.org,
linux-snps-arc@...ts.infradead.org, linux-kernel@...r.kernel.org,
Michal Simek <monstr@...str.eu>, devicetree@...r.kernel.org,
linux-mips@...r.kernel.org, linux-openrisc@...r.kernel.org,
Dinh Nguyen <dinguyen@...nel.org>
Subject: Re: [PATCH 02/15] kbuild: split device tree build rules into
scripts/Makefile.dtbs
On Thu, Sep 05, 2024 at 08:47:38AM +0900, Masahiro Yamada wrote:
> scripts/Makefile.lib is included not only from scripts/Makefile.build
> but also from scripts/Makefile.{modfinal,package,vmlinux,vmlinux_o},
> where DT build rules are not required.
>
> Split the DT build rules out to scripts/Makefile.dtbs, and include it
> only when necessary.
>
> Signed-off-by: Masahiro Yamada <masahiroy@...nel.org>
> ---
>
> drivers/of/fdt.c | 2 +-
> drivers/of/unittest.c | 4 +-
> scripts/Makefile.build | 25 +++-----
> scripts/Makefile.dtbs | 142 +++++++++++++++++++++++++++++++++++++++++
> scripts/Makefile.lib | 115 ---------------------------------
> 5 files changed, 153 insertions(+), 135 deletions(-)
> create mode 100644 scripts/Makefile.dtbs
Reviewed-by: Rob Herring (Arm) <robh@...nel.org>
Powered by blists - more mailing lists