[U-Boot] [PATCH] Makefile: Only build dtc if needed
Marek Vasut
marek.vasut at gmail.com
Tue Nov 13 22:50:41 UTC 2018
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>
--
Best regards,
Marek Vasut
More information about the U-Boot
mailing list