diff options
author | Douglas Anderson <dianders@chromium.org> | 2013-06-27 05:32:06 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-06-29 12:20:23 +0200 |
commit | 1b21376a737aeaa82320ae014b8e1c2c53cfc479 (patch) | |
tree | a4bc728855165356ac53f904e9974510d438ada9 /drivers/mmc | |
parent | ARM: 7774/1: Fix dtb dependency to use order-only prerequisites (diff) | |
download | linux-1b21376a737aeaa82320ae014b8e1c2c53cfc479.tar.xz linux-1b21376a737aeaa82320ae014b8e1c2c53cfc479.zip |
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 'drivers/mmc')
0 files changed, 0 insertions, 0 deletions