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

Simon Glass sjg at chromium.org
Thu Jul 22 04:13:00 CEST 2021


Hi Masahiro,

On Sun, 18 Jul 2021 at 07:36, Masahiro Yamada <masahiroy at kernel.org> wrote:
>
> 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.

Thanks for the email.

OK I found the documentation about this in Linux so will add it to U-Boot.

>
> If it is not working, you may miss adding
> the objects to the 'targets'.
>
> Somebody had broken the build system?

I'm not sure, but let's drop this patch for now.

Regards,
Simon


More information about the U-Boot mailing list