kbuild: split device tree build rules into scripts/Makefile.dtbs
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. While I was here, I added $(DT_TMP_SCHEMA) as a prerequisite of $(multi-dtb-y). Signed-off-by:Masahiro Yamada <masahiroy@kernel.org> Reviewed-by:
Rob Herring (Arm) <robh@kernel.org>
Showing
scripts/Makefile.dtbs
0 → 100644
Please register or sign in to comment