]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit14d02643f389f72d27281225cf6f9a797bf88256
tree72641393b864cccad15952aafee5612913b53eb5
parent0395d118014e70945472afc850683c0a48171a06
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