[U-Boot] [PATCH] Makefile: Only build dtc if needed

Simon Glass sjg at chromium.org
Tue Jan 22 00:31:54 UTC 2019


Hi Tom,

On Wed, 14 Nov 2018 at 12:51, Marek Vasut <marek.vasut at gmail.com> wrote:
>
> On 11/13/2018 11:43 PM, Simon Glass wrote:
> > At present U-Boot always builds dtc if CONFIG_OF_CONTROL is defined. This
> > is wasteful when the system already has a suitable version available.
> >
> > Update the Makefile logic to build dtc only if the version available is
> > too old.
> >
> > This saves about 3 seconds of CPU time on a clean build for me.
>
> Nice !
>
> > Signed-off-by: Simon Glass <sjg at chromium.org>
>
> Reviewed-by: Marek Vasut <marek.vasut at gmail.com>

Should we pick this one up? It is assigned to you in patchwork.

Regards,
Simon


More information about the U-Boot mailing list