From: Marek Vasut Date: Tue, 13 Nov 2018 23:50:41 +0100 Subject: [U-Boot] [PATCH] Makefile: Only build dtc if needed In-Reply-To: <20181113224307.43697-1-sjg@chromium.org> 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 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 -- Best regards, Marek Vasut