
Dear Daniel Schwierzeck,
In message CACUy__UjmnRYKMWiMB9pqr0_dS6cgiyo-MsoVY4eSH2zT6ZKHA@mail.gmail.com you wrote:
On Wed, Nov 2, 2011 at 7:54 AM, Wolfgang Denk wd@denx.de wrote:
U-Boot Makefiles contain a number of tests for compiler features etc. which so far are executed again and again. =C2=A0On some architectures (especially ARM) this results in a large number of calls to gcc.
This patch makes sure to run such tests only once, thus largely reducing the number of "execve" system calls.
maybe you want to try this experimental patch. http://patchwork.ozlabs.org/patch/123313/
It significantly reduces the count of gcc calls by caching the results. This also improves compilation times.
Do you suggest this in addition or instead of the patch I posted?
Can you provide some measurements of build times and/or execve system calls?
Best regards,
Wolfgang Denk