From: Rasmus Villemoes Date: Wed, 10 Jul 2024 07:16:12 +0000 (+0200) Subject: kbuild: Disallow DTB overlays to built from .dts named source files X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=e1ad98ed9b2868f0f2930738f63e4e58b0de9b04;p=u-boot.git kbuild: Disallow DTB overlays to built from .dts named source files [equivalent to linux commit 81d362732bac] As a follow up to the series allowing DTB overlays to built from .dtso files. Now that all overlays have been renamed, remove the ability to build from overlays from .dts files to prevent any files with the old name from accidental being added. Signed-off-by: Rasmus Villemoes --- diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 549c361947..d6fbf9a765 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -416,9 +416,6 @@ cmd_dtco = mkdir -p $(dir ${dtc-tmp}) ; \ -d $(depfile).dtc.tmp $(dtc-tmp) ; \ cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile) -$(obj)/%.dtbo: $(src)/%.dts $(DTC) FORCE - $(call if_changed_dep,dtco) - $(obj)/%.dtbo: $(src)/%.dtso $(DTC) FORCE $(call if_changed_dep,dtco)