[PATCH] kbuild: Disallow DTB overlays to built from .dts named source files

Masahiro Yamada masahiroy at kernel.org
Mon Mar 6 18:36:21 PST 2023


On Tue, Mar 7, 2023 at 7:48 AM Andrew Davis <afd at ti.com> wrote:
>
> 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: Andrew Davis <afd at ti.com>

Acked-by: Masahiro Yamada <masahiroy at kernel.org>

if Rob picks this up.


> ---
>  scripts/Makefile.lib | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
> index 100a386fcd71..68d0134bdbf9 100644
> --- a/scripts/Makefile.lib
> +++ b/scripts/Makefile.lib
> @@ -418,9 +418,6 @@ endif
>  $(obj)/%.dtb: $(src)/%.dts $(DTC) $(DT_TMP_SCHEMA) FORCE
>         $(call if_changed_dep,dtb)
>
> -$(obj)/%.dtbo: $(src)/%.dts $(DTC) FORCE
> -       $(call if_changed_dep,dtc)
> -
>  $(obj)/%.dtbo: $(src)/%.dtso $(DTC) FORCE
>         $(call if_changed_dep,dtc)
>
> --
> 2.39.2
>


-- 
Best Regards
Masahiro Yamada



More information about the linux-arm-kernel mailing list