From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Tue, 22 Jan 2019 13:31:54 +1300 Subject: [U-Boot] [PATCH] Makefile: Only build dtc if needed In-Reply-To: References: <20181113224307.43697-1-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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 > > Reviewed-by: Marek Vasut Should we pick this one up? It is assigned to you in patchwork. Regards, Simon