mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: Cleanup environment dependencies and compressed file generation
Date: Wed, 19 Feb 2014 11:50:42 +0100	[thread overview]
Message-ID: <1392807047-32080-1-git-send-email-s.hauer@pengutronix.de> (raw)

This changes the way how we track whether the default environment has
to be regenerated. Instead of trying to push this into make rules we
now always regenerate it, but only if the result differs from the last
run we copy it over to the target. This way make only sees a change when
something has changed (and only then rebuilds the barebox binary).
Also we introduce wildcard rules for generating compressed files which
further cleans up generating the default environment files.

Sascha

----------------------------------------------------------------
Sascha Hauer (5):
      common/Makefile: reorder targets
      defaultenv: simplify env dependencies
      make: Add wildcard rules for compressed files
      defaultenv: use wildcard compression rules
      Kconfig: Select default compression type

 Makefile             |  17 +++++++
 common/Kconfig       |  39 ++++++++--------
 common/Makefile      | 126 +++++++++++++++++++--------------------------------
 common/startup.c     |   2 +-
 scripts/Makefile.lib |  18 ++++++++
 scripts/genenv       |  12 ++++-
 6 files changed, 114 insertions(+), 100 deletions(-)

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2014-02-19 10:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-19 10:50 Sascha Hauer [this message]
2014-02-19 10:50 ` [PATCH 1/5] common/Makefile: reorder targets Sascha Hauer
2014-02-19 10:50 ` [PATCH 2/5] defaultenv: simplify env dependencies Sascha Hauer
2014-02-19 10:50 ` [PATCH 3/5] make: Add wildcard rules for compressed files Sascha Hauer
2014-02-19 10:50 ` [PATCH 4/5] defaultenv: use wildcard compression rules Sascha Hauer
2014-02-19 10:50 ` [PATCH 5/5] Kconfig: Select default compression type Sascha Hauer

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=1392807047-32080-1-git-send-email-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox