diff mbox series

[v2,5/5] kbuild: Disallow DTB overlays to built from .dts named source files

Message ID 20240710071612.1717460-6-rasmus.villemoes@prevas.dk
State Accepted
Commit e1ad98ed9b2868f0f2930738f63e4e58b0de9b04
Delegated to: Tom Rini
Headers show
Series finish using .dtso for overlay source files | expand

Commit Message

Rasmus Villemoes July 10, 2024, 7:16 a.m. UTC
[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 <rasmus.villemoes@prevas.dk>
---
 scripts/Makefile.lib | 3 ---
 1 file changed, 3 deletions(-)

Comments

Simon Glass Sept. 20, 2024, 4:01 p.m. UTC | #1
On Wed, 10 Jul 2024 at 09:18, Rasmus Villemoes
<rasmus.villemoes@prevas.dk> wrote:
>
> [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 <rasmus.villemoes@prevas.dk>
> ---
>  scripts/Makefile.lib | 3 ---
>  1 file changed, 3 deletions(-)
>

Reviewed-by: Simon Glass <sjg@chromium.org>
diff mbox series

Patch

diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 549c3619472..d6fbf9a7659 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)