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: 0f8e2d62 ("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 <p...
Showing
- Documentation/kbuild/kbuild.txt 16 additions, 0 deletionsDocumentation/kbuild/kbuild.txt
- Makefile 3 additions, 1 deletionMakefile
- arch/arm/Makefile 2 additions, 2 deletionsarch/arm/Makefile
- arch/arm/boot/install.sh 2 additions, 2 deletionsarch/arm/boot/install.sh
- arch/blackfin/Makefile 2 additions, 2 deletionsarch/blackfin/Makefile
- arch/blackfin/boot/install.sh 3 additions, 3 deletionsarch/blackfin/boot/install.sh
- arch/ia64/install.sh 2 additions, 2 deletionsarch/ia64/install.sh
- arch/m32r/boot/compressed/install.sh 2 additions, 2 deletionsarch/m32r/boot/compressed/install.sh
- arch/m68k/install.sh 2 additions, 2 deletionsarch/m68k/install.sh
- arch/parisc/Makefile 2 additions, 2 deletionsarch/parisc/Makefile
- arch/parisc/install.sh 2 additions, 2 deletionsarch/parisc/install.sh
- arch/powerpc/Makefile 2 additions, 2 deletionsarch/powerpc/Makefile
- arch/powerpc/boot/install.sh 2 additions, 2 deletionsarch/powerpc/boot/install.sh
- arch/s390/boot/install.sh 2 additions, 2 deletionsarch/s390/boot/install.sh
- arch/sh/boot/compressed/install.sh 2 additions, 2 deletionsarch/sh/boot/compressed/install.sh
- arch/x86/Makefile 2 additions, 2 deletionsarch/x86/Makefile
- arch/x86/boot/install.sh 2 additions, 2 deletionsarch/x86/boot/install.sh
Please register or sign in to comment