]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
kbuild: Disallow DTB overlays to built from .dts named source files
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Wed, 10 Jul 2024 07:16:12 +0000 (09:16 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 18 Jul 2024 19:51:07 +0000 (13:51 -0600)
[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

index 549c3619472b86b9aeb855e2ad3f1c40b1e6c6e7..d6fbf9a76593e004ad72f8c27c8eb0fabcf9d41b 100644 (file)
@@ -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)