Re: [PATCH 02/15] kbuild: split device tree build rules into scripts/Makefile.dtbs

2024-09-05 Thread Rob Herring
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/Makef

[PATCH 02/15] kbuild: split device tree build rules into scripts/Makefile.dtbs

2024-09-04 Thread Masahiro Yamada
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 Yama