s390/decompressor: avoid reusing uncompressed image objects
authorVasily Gorbik <gor@linux.ibm.com>
Tue, 12 Jun 2018 13:52:01 +0000 (15:52 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 25 Jun 2018 08:14:39 +0000 (10:14 +0200)
commita1d7d91f105413750b5c8fb6a13a8c969a8b1f81
tree72641393b864cccad15952aafee5612913b53eb5
parent2dd26659e3167526212b7b3a18a5c747058aff1e
s390/decompressor: avoid reusing uncompressed image objects

Re-compile ebcdic.c and sclp_early_core.c for the decompressor,
using proper decompressor CFLAGS. This also allows to potentially use
instrumentation for those files when built for the main kernel image.

With kbuild there is no easy way to re-compile a source file from
another directory. Bypass ugly rules and Makefile meta-programming
with relative path includes of original files.

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>
arch/s390/boot/Makefile
arch/s390/boot/compressed/Makefile
arch/s390/boot/ebcdic.c [new file with mode: 0644]
arch/s390/boot/sclp_early_core.c [new file with mode: 0644]
drivers/s390/char/Makefile