u-boot/arch/arm/cpu/armv7
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
..
am33xx ARM:AM33XX: Add support for TI AM335X EVM 2011-10-27 21:56:36 +02:00
highbank ARM: Add Calxeda Highbank platform 2011-10-27 21:56:37 +02:00
mx5 imx: fix coding style 2011-10-27 21:56:32 +02:00
omap-common Reduce build times 2011-11-03 20:44:58 +01:00
omap3 OMAP3 SPL: Provide weak omap_rev_string 2011-10-27 21:56:35 +02:00
omap4 Merge branch 'master' of git://git.denx.de/u-boot-arm 2011-10-28 00:15:19 +02:00
s5p-common Timer: Remove reset_timer() for non-Nios2 arches 2011-07-26 14:53:30 +02:00
s5pc1xx armv7: adapt s5pc1xx to the new cache maintenance framework 2011-07-04 10:55:25 +02:00
s5pc2xx S5PC2XX: clock: support pwm clock for evt1 (cpu revision 1) 2011-05-26 19:33:25 +09:00
tegra2 Merge branch 'master' of git://git.denx.de/u-boot-arm 2011-10-28 00:15:19 +02:00
u8500 Timer: Remove set_timer completely 2011-07-26 14:52:17 +02:00
cache_v7.c armv7: cache: remove flush on un-aligned invalidate 2011-09-04 11:36:16 +02:00
config.mk Reduce build times 2011-11-03 20:44:58 +01:00
cpu.c omap: add MMC and FAT support to SPL 2011-08-03 12:49:20 +02:00
Makefile omap: add basic SPL support 2011-08-03 12:49:20 +02:00
start.S omap: add MMC and FAT support to SPL 2011-08-03 12:49:20 +02:00
syslib.c ARMV7: Vexpress: fix build errors 2010-12-08 23:44:21 +01:00
u-boot.lds armv7: start.S: fixes and enhancements for SPL 2011-08-03 12:49:20 +02:00