From: Douglas Anderson Date: Thu, 27 Jun 2013 03:32:06 +0000 (+0100) Subject: ARM: 7777/1: Avoid extra calls to the C compiler X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~41^2~1^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b21376a737aeaa82320ae014b8e1c2c53cfc479;p=pandora-kernel.git 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 Acked-by: Mike Frysinger Signed-off-by: Russell King --- Reading git-diff-tree failed