[PATCH 06/22] Makefile: Avoid rebuilding .dtb files each time

Masahiro Yamada masahiroy at kernel.org
Sun Jul 18 15:34:50 CEST 2021


On Sun, Jul 18, 2021 at 5:41 AM Simon Glass <sjg at chromium.org> wrote:
>
> Drop the FORCE from the rule that builds .dtb files and let the normal
> dependency checking do its work. This should work correctly, at least
> for .dts files that don't use /include/.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  scripts/Makefile.lib | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Applied to u-boot-dm, thanks!


I am no longer working on U-Boot,
but this patch is obviously wrong.

if_changed_dep must always have FORCE
as the prerequisite.

If it is not working, you may miss adding
the objects to the 'targets'.

Somebody had broken the build system?


--
Best Regards
Masahiro Yamada


More information about the U-Boot mailing list