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@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox