[POWERPC] Select proper defconfig for crosscompiles
authorAdrian Bunk <bunk@kernel.org>
Tue, 2 Oct 2007 20:30:09 +0000 (13:30 -0700)
committerPaul Mackerras <paulus@samba.org>
Wed, 3 Oct 2007 02:02:44 +0000 (12:02 +1000)
commitca786f83a97d7897b013b1e9b290c9010b69af9b
tree977ea1a2934291f7fdfc9eee2d6f39adef78a2db
parent3049ea7e04408abf35dc295014cb6f1eabcf9b8c
[POWERPC] Select proper defconfig for crosscompiles

The trick for finding the right defconfig is neat, but you forgot to
provide an i686_defconfig.  ;-)

More seriously, cross compiling the defconfig is often useful, e.g. for
testing the compilation of patches that touch multiple architectures,
and this patch therefore chooses g5_defconfig if $(CROSS_COMPILE) is
non-empty.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Olof Johansson <olof@lixom.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/Makefile