diff options
author | Douglas Anderson <dianders@chromium.org> | 2013-06-27 03:32:06 (GMT) |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-06-29 10:20:23 (GMT) |
commit | 1b21376a737aeaa82320ae014b8e1c2c53cfc479 (patch) | |
tree | a4bc728855165356ac53f904e9974510d438ada9 /Makefile | |
parent | 81793bab5d7cc0d0962dae47dab3a63ae4bd5265 (diff) | |
download | linux-1b21376a737aeaa82320ae014b8e1c2c53cfc479.tar.xz |
ARM: 7777/1: Avoid extra calls to the C compiler
Starting up the C compiler can be a slow operation on some systems.
Though these calls don't individually take a lot of time, they add up.
Rearrange the ARM Makefile a bit to avoid extra calls to the compiler
when they can be easily avoided.
When running with the Chrome OS ARM cross compiler
"armv7a-cros-linux-gnueabi-", this shaved .55 seconds (from 5.31
seconds to 4.76 seconds) off an incremental build of the kernel:
time make -j32 ARCH=arm CROSS_COMPILE=armv7a-cros-linux-gnueabi-
Thanks to Mike Frysinger for the clean trick to make this work.
Signed-off-by: Doug Anderson <dianders@chromium.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions