All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marek Vasut <marek.vasut@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Makefile: Only build dtc if needed
Date: Tue, 13 Nov 2018 23:50:41 +0100	[thread overview]
Message-ID: <a6df6740-927f-abe7-7d5b-9aee0543a78f@gmail.com> (raw)
In-Reply-To: <20181113224307.43697-1-sjg@chromium.org>

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@chromium.org>

Reviewed-by: Marek Vasut <marek.vasut@gmail.com>

-- 
Best regards,
Marek Vasut

  reply	other threads:[~2018-11-13 22:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-13 22:43 [U-Boot] [PATCH] Makefile: Only build dtc if needed Simon Glass
2018-11-13 22:50 ` Marek Vasut [this message]
2019-01-22  0:31   ` Simon Glass
2019-01-27  3:51 ` [U-Boot] " Tom Rini
2020-04-27  0:34   ` Simon Glass
2020-04-27 18:59     ` Tom Rini
2020-04-27 22:25       ` Simon Glass
2020-04-28 14:49         ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a6df6740-927f-abe7-7d5b-9aee0543a78f@gmail.com \
    --to=marek.vasut@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.