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

2019-01-21 Thread Simon Glass
Hi Tom, On Wed, 14 Nov 2018 at 12:51, Marek Vasut 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 buil

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

2018-11-13 Thread Marek Vasut
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 abou

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

2018-11-13 Thread Simon Glass
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. Signed-