Skip to content

build: minimize rebuilds

Sam Ravnborg barebox 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4build: fix that defaultenv is always rebuiltdefaultenv/Makefile+2 -20 replies
2/4build: fix that passwd.h is always builtcommon/Makefile+15 -130 replies
3/4build: fix that the bbenv file is always rebuiltscripts/Makefile.lib+1 -10 replies
4/4build: fix that LZO file is always rebuiltscripts/Kbuild.include+7 -53 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] build: minimize rebuilds

Following patchset minimizes re-builds.
With the setup I use at the moment where I run build tests on 100+ arm related boards I see that the build time is reduced to half - for an otherwise clean build with no changes.
In other words - the wall clock time for a simple "try to build all boards" where nothing has changed goes from ~2:35 minutes to 1:21 minutes

The patches has been tested in my local setup - and no missing rebuilds was seen.

Sam Ravnborg (4):
build: fix that defaultenv is always rebuilt
build: fix that passwd.h is always built
build: fix that the bbenv file is always rebuilt
build: fix that LZO file is always rebuilt

 common/Makefile        | 28 +++++++++++++++-------------
 defaultenv/Makefile    |  4 ++--
 scripts/Kbuild.include | 12 +++++++-----
 scripts/Makefile.lib   |  2 +-
 4 files changed, 25 insertions(+), 21 deletions(-)

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox