u-boot/arch
Wolfgang Denk cca4e4aec1 Reduce build times
U-Boot Makefiles contain a number of tests for compiler features etc.
which so far are executed again and again.  On 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.

Example: number of "execve" system calls for building the "P2020DS"
(Power Architecture) and "qong" (ARM) boards, measured as:
	-> strace -f -e trace=execve -o /tmp/foo ./MAKEALL <board>
	-> grep execve /tmp/foo | wc -l

	Before: After:	Reduction:
==================================
P2020DS 20555	15205	-26%
qong	31692	14490	-54%

As a result, built times are significantly reduced, typically by
30...50%.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Andy Fleming <afleming@gmail.com>
Cc: Kumar Gala <galak@kernel.crashing.org>
Cc: Albert Aribaud <albert.aribaud@free.fr>
cc: Graeme Russ <graeme.russ@gmail.com>
cc: Mike Frysinger <vapier@gentoo.org>
Tested-by: Graeme Russ <graeme.russ@gmail.com>
Tested-by: Matthias Weisser <weisserm@arcor.de>
Tested-by: Sanjeev Premi <premi@ti.com>
Tested-by: Simon Glass <sjg@chromium.org>
Tested-by: Macpaul Lin <macpaul@gmail.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
2011-11-03 20:44:58 +01:00
..
arm Reduce build times 2011-11-03 20:44:58 +01:00
avr32 avr32: Use getenv_ulong() in place of getenv(), strtoul 2011-10-23 23:33:17 +02:00
blackfin blackfin: Use getenv_ulong() in place of getenv(), strtoul 2011-10-23 23:33:18 +02:00
m68k m68k: Use getenv_ulong() in place of getenv(), strtoul 2011-10-23 23:33:18 +02:00
microblaze microblaze: Fix strict-aliasing rules for in_be32 2011-10-24 07:57:03 +02:00
mips mips: Use getenv_ulong() in place of getenv(), strtoul 2011-10-23 23:33:19 +02:00
nds32 nds32: asm/io.h: add __iormb __iowmb and inline io support 2011-11-01 12:47:30 +08:00
nios2 nios2: cache: define ARCH_DMA_MINALIGN for DMA buffer alignment 2011-10-23 20:50:42 +02:00
powerpc Reduce build times 2011-11-03 20:44:58 +01:00
sandbox cosmetic: s/BOARD_LATE_INIT/CONFIG_BOARD_LATE_INIT 2011-10-27 23:53:59 +02:00
sh cosmetic: s/BOARD_LATE_INIT/CONFIG_BOARD_LATE_INIT 2011-10-27 23:53:59 +02:00
sparc sparc: Use getenv_ulong() in place of getenv(), strtoul 2011-10-23 23:33:19 +02:00
x86 Reduce build times 2011-11-03 20:44:58 +01:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00