diff options
author | Sam Ravnborg | 2005-05-01 01:51:42 +0200 |
---|---|---|
committer | Linus Torvalds | 2005-05-01 01:51:42 +0200 |
commit | e8e6993178344eb348f60f05b16d9dc30db3b9cf (patch) | |
tree | ddb7d643d247c1f7650245794433b7c1eec92331 /init/Makefile | |
parent | [PATCH] kbuild/ppc: tell when uimage was not built (diff) | |
download | kernel-qcow2-linux-e8e6993178344eb348f60f05b16d9dc30db3b9cf.tar.gz kernel-qcow2-linux-e8e6993178344eb348f60f05b16d9dc30db3b9cf.tar.xz kernel-qcow2-linux-e8e6993178344eb348f60f05b16d9dc30db3b9cf.zip |
[PATCH] kbuild: Set NOSTDINC_FLAGS late to speed up compile (a little)
Move definition of NOSTDINC_FLAGS below inclusion of arch Makefile, so
any arch specific settings to $(CC) takes effect before looking up the
compiler include directory.
The previous solution that replaced ':=' with '=' caused gcc to be
invoked one additional time for each directory visited.
This decreases kernel compile time with 0.1 second (3.6 -> 3.5 seconds) when
running make on a fully built kernel
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init/Makefile')
0 files changed, 0 insertions, 0 deletions