u-boot/arch/arm/cpu/arm926ejs/at91
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
..
at91cap9_devices.c arm: Move cpu/$CPU to arch/arm/cpu/$CPU 2010-04-13 09:13:24 +02:00
at91sam9m10g45_devices.c atmel: update at91sam9m10g45 SoC support to new style 2011-09-03 22:40:44 +02:00
at91sam9rl_devices.c AT91: Makes AT91SAM9RL SoC build correctly against u-boot-atmel/master 2011-08-03 13:00:56 +02:00
at91sam9260_devices.c AT91: fix mistake in at91sam9260_devices.c(spi1_hw_init) 2011-08-03 13:00:56 +02:00
at91sam9261_devices.c AT91: change common at91sam9261 files to compile with new scheme 2011-08-03 13:00:56 +02:00
at91sam9263_devices.c AT91: Makes AT91SAM9263 SoC build correctly against u-boot-atmel/master 2011-08-03 13:00:56 +02:00
clock.c arm920t/at91: add clock.c 2011-07-04 10:55:27 +02:00
config.mk Reduce build times 2011-11-03 20:44:58 +01:00
cpu.c AT91: change includes from asm/arch/io.h to asm/io.h 2011-05-18 07:56:51 +02:00
eflash.c AT91: change includes from asm/arch/io.h to asm/io.h 2011-05-18 07:56:51 +02:00
led.c led: remove camel casing of led identifiers globally 2011-09-13 08:30:52 +02:00
lowlevel_init.S AT91: Makes AT91SAM9263 SoC build correctly against u-boot-atmel/master 2011-08-03 13:00:56 +02:00
Makefile AT91: fix related at91 system/driver files 2011-05-18 07:56:51 +02:00
reset.c AT91: change includes from asm/arch/io.h to asm/io.h 2011-05-18 07:56:51 +02:00
timer.c AT91: fix timer.c - remove reset_timer() 2011-05-18 07:56:52 +02:00