mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Cleanup environment dependencies and compressed file generation
@ 2014-02-19 10:50 Sascha Hauer
  2014-02-19 10:50 ` [PATCH 1/5] common/Makefile: reorder targets Sascha Hauer
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Sascha Hauer @ 2014-02-19 10:50 UTC (permalink / raw)
  To: barebox

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-19 10:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-19 10:50 Cleanup environment dependencies and compressed file generation Sascha Hauer
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox