All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

  • Sam Ravnborg's avatar
    kbuild: use INSTALLKERNEL to select customized installkernel script · caa27b66
    Sam Ravnborg authored
    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
    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:
      ("use ${CROSS_COMPILE}installkernel in arch/*/boot/")
    The patch has been lightly tested on x86 only - but all changes
    looks obvious.
    Acked-by: default avatarPeter Zijlstra <>
    Acked-by: Mike Frysinger <> [blackfin]
    Acked-by: Russell King <> [arm]
    Acked-by: Paul Mundt <> [sh]
    Acked-by: "H. Peter Anvin" <> [x86]
    Cc: Ian Campbell <>
    Cc: Tony Luck <> [ia64]
    Cc: Fenghua Yu <> [ia64]
    Cc: Hirokazu Takata <> [m32r]
    Cc: Geert Uytterhoeven <> [m68k]
    Cc: Kyle McMartin <> [parisc]
    Cc: Benjamin Herrenschmidt <> [powerpc]
    Cc: Martin Schwidefsky <> [s390]
    Cc: Thomas Gleixner <> [x86]
    Cc: Ingo Molnar <> [x86]
    Signed-off-by: default avatarSam Ravnborg <>