Age | Commit message (Collapse) | Author | Files | Lines |
|
Setting '-e' flag tells shells to exit with error exit code immediately
after any of commands fails, and causes make(1) to regard recipes as
failed.
Before this, make will still continue to succeed even after the
installation failed, for example, for insufficient permission or
directory does not exist.
Signed-off-by: Zhang Bingwu <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
|
|
Many architectures have similar install.sh scripts.
The first half is really generic; it verifies that the kernel image
and System.map exist, then executes ~/bin/${INSTALLKERNEL} or
/sbin/${INSTALLKERNEL} if available.
The second half is kind of arch-specific; it copies the kernel image
and System.map to the destination, but the code is slightly different.
Factor out the generic part into scripts/install.sh.
Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Nicolas Schier <[email protected]>
|
|
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:
0f8e2d62fa04441cd12c08ce521e84e5bd3f8a46
("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 <[email protected]>
Acked-by: Mike Frysinger <[email protected]> [blackfin]
Acked-by: Russell King <[email protected]> [arm]
Acked-by: Paul Mundt <[email protected]> [sh]
Acked-by: "H. Peter Anvin" <[email protected]> [x86]
Cc: Ian Campbell <[email protected]>
Cc: Tony Luck <[email protected]> [ia64]
Cc: Fenghua Yu <[email protected]> [ia64]
Cc: Hirokazu Takata <[email protected]> [m32r]
Cc: Geert Uytterhoeven <[email protected]> [m68k]
Cc: Kyle McMartin <[email protected]> [parisc]
Cc: Benjamin Herrenschmidt <[email protected]> [powerpc]
Cc: Martin Schwidefsky <[email protected]> [s390]
Cc: Thomas Gleixner <[email protected]> [x86]
Cc: Ingo Molnar <[email protected]> [x86]
Signed-off-by: Sam Ravnborg <[email protected]>
|
|
Remove old comments that include the old arch/i386 directory.
Signed-off-by: WANG Cong <[email protected]>
Acked-by: H. Peter Anvin <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
|
|
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
|