1
0
Fork 0
alistair23-linux/arch/blackfin
Sam Ravnborg caa27b66bd kbuild: use INSTALLKERNEL to select customized installkernel script
Replace the use of CROSS_COMPILE to select a customized
installkernel script with the possibility to set INSTALLKERNEL
to select a custom installkernel script when running make:

    make INSTALLKERNEL=arm-installkernel install

With this patch we are now more consistent across
different architectures - they did not all support use
of CROSS_COMPILE.

The use of CROSS_COMPILE was a hack as this really belongs
to gcc/binutils and the installkernel script does not change
just because we change toolchain.

The use of CROSS_COMPILE caused troubles with an upcoming patch
that saves CROSS_COMPILE when a kernel is built - it would no
longer be installable.
[Thanks to Peter Z. for this hint]

This patch undos what Ian did in commit:

  0f8e2d62fa
  ("use ${CROSS_COMPILE}installkernel in arch/*/boot/install.sh")

The patch has been lightly tested on x86 only - but all changes
looks obvious.

Acked-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Mike Frysinger <vapier@gentoo.org> [blackfin]
Acked-by: Russell King <linux@arm.linux.org.uk> [arm]
Acked-by: Paul Mundt <lethal@linux-sh.org> [sh]
Acked-by: "H. Peter Anvin" <hpa@zytor.com> [x86]
Cc: Ian Campbell <icampbell@arcom.com>
Cc: Tony Luck <tony.luck@intel.com> [ia64]
Cc: Fenghua Yu <fenghua.yu@intel.com> [ia64]
Cc: Hirokazu Takata <takata@linux-m32r.org> [m32r]
Cc: Geert Uytterhoeven <geert@linux-m68k.org> [m68k]
Cc: Kyle McMartin <kyle@mcmartin.ca> [parisc]
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> [powerpc]
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> [s390]
Cc: Thomas Gleixner <tglx@linutronix.de> [x86]
Cc: Ingo Molnar <mingo@redhat.com> [x86]
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
2009-09-20 12:18:14 +02:00
..
boot kbuild: use INSTALLKERNEL to select customized installkernel script 2009-09-20 12:18:14 +02:00
configs Blackfin: increase default async timings for parallel flashes 2009-09-16 22:10:42 -04:00
include/asm Blackfin: update ftrace for latest toolchain 2009-09-16 22:10:52 -04:00
kernel Blackfin: update ftrace for latest toolchain 2009-09-16 22:10:52 -04:00
lib Blackfin: fix misnomer of some I-pipe helpers 2009-09-16 21:28:30 -04:00
mach-bf518 Blackfin: drop board resources for dead devices (pbx/ad9960) 2009-09-16 22:10:24 -04:00
mach-bf527 Blackfin: update cm board resources 2009-09-16 22:10:46 -04:00
mach-bf533 Blackfin: update cm board resources 2009-09-16 22:10:46 -04:00
mach-bf537 Blackfin: update cm board resources 2009-09-16 22:10:46 -04:00
mach-bf538 Blackfin: bf538-ezkit: add SPI IRQ resources 2009-09-16 22:10:43 -04:00
mach-bf548 Blackfin: update cm board resources 2009-09-16 22:10:46 -04:00
mach-bf561 Blackfin: update cm board resources 2009-09-16 22:10:46 -04:00
mach-common Blackfin: unify cache init functions 2009-09-16 22:10:49 -04:00
mm Blackfin: fix typo in isram_write() 2009-09-16 22:10:38 -04:00
oprofile Blackfin arch: remove hardware PM code, oprofile not use it 2009-01-07 23:14:39 +08:00
Kconfig Blackfin: swap clocksource ratings for gptimer/cycles 2009-09-16 22:10:48 -04:00
Kconfig.debug Blackfin: add some isram-driver self tests 2009-09-16 22:10:36 -04:00
Makefile kbuild: use INSTALLKERNEL to select customized installkernel script 2009-09-20 12:18:14 +02:00