Hello Carl-Daniel,
I did one round of timing the build processes:
Original make command: 0m42.323s My reduction and a clean start: 0m30.955s After that a 'make clean' and renewed make: 0m23.081s
The timings might not be typical, but the time saving seems to be substantial in the 'middle case' where only one romcc needs to be built, as well as in the last case were romcc is fully reused for both rom-images.
Since I only have used coreboot-v2, I have no knowledge whether my utility could be applied also to coreboot-v3.
Best regards
Mats Erik Andersson
Hi Mats,
nice work.
On 02.09.2008 00:13, Mats Erik Andersson wrote:
I submit here a little utility that slightly rebuilds the python generated makefiles
targets/*/*/Makefile targets/*/*/normal/Makefile targets/*/*/fallback/Makefile
in order to use a common copy of romcc, and to leave this compiler until 'make build-clean' is issued. If the result is to peoples liking, the corresponding changes should be implemented in the master copies used by 'buildtargets'.
Have you measured the speedup for this? Is it noticeable?
Regards, Carl-Daniel