diff options
author | Vasily Gorbik <gor@linux.ibm.com> | 2018-06-11 15:35:01 +0300 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-06-25 11:14:38 +0300 |
commit | 00f2fb573fdc3c21f3b7266a4a8758a85943edfb (patch) | |
tree | 58cd9dadfd9488c36d165f6412ada9b0355383c5 /arch/s390/boot | |
parent | 76bf9d6cef5788c769af987ff6f8ece40c6ab152 (diff) | |
download | linux-00f2fb573fdc3c21f3b7266a4a8758a85943edfb.tar.xz |
s390: remove uncompressed kernel image build
Dropping support for uncompressed kernel "image" build. Having
both image and bzImage makes it complicated to add new code to an
early boot phase (which is part of vmlinux for uncompressed kernel and
a separate arch/s390/boot/compressed/vmlinux for bzImage).
e.g. sclp_early_core.o is used for both, the decompressor phase and the
main kernel. The fact of having uncompressed kernel "image" forces us
to have a single object file and sacrifice instrumentation flags on such
files (so that we could use them early). The story gets much more
complicated with the need to utilize some of the string functions.
With bzImage only support, we have 2 separate boot stages each built
and linked separately, which allows to reuse some shared code, but
recompile with appropriate flags.
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/boot')
-rw-r--r-- | arch/s390/boot/Makefile | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/s390/boot/Makefile b/arch/s390/boot/Makefile index d1fa37fcce83..da5f299dcd18 100644 --- a/arch/s390/boot/Makefile +++ b/arch/s390/boot/Makefile @@ -3,13 +3,9 @@ # Makefile for the linux s390-specific parts of the memory manager. # -targets := image -targets += bzImage +targets := bzImage subdir- := compressed -$(obj)/image: vmlinux FORCE - $(call if_changed,objcopy) - $(obj)/bzImage: $(obj)/compressed/vmlinux FORCE $(call if_changed,objcopy) |