aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/char/Makefile
diff options
context:
space:
mode:
authorVasily Gorbik <gor@linux.ibm.com>2018-06-12 15:52:01 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-06-25 10:14:39 +0200
commita1d7d91f105413750b5c8fb6a13a8c969a8b1f81 (patch)
tree72641393b864cccad15952aafee5612913b53eb5 /drivers/s390/char/Makefile
parents390/als: avoid .init.* sections usage (diff)
downloadlinux-dev-a1d7d91f105413750b5c8fb6a13a8c969a8b1f81.tar.xz
linux-dev-a1d7d91f105413750b5c8fb6a13a8c969a8b1f81.zip
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>
Diffstat (limited to 'drivers/s390/char/Makefile')
-rw-r--r--drivers/s390/char/Makefile5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/s390/char/Makefile b/drivers/s390/char/Makefile
index 0a4c13e1e76e..c6ab34f94b1b 100644
--- a/drivers/s390/char/Makefile
+++ b/drivers/s390/char/Makefile
@@ -12,11 +12,6 @@ GCOV_PROFILE_sclp_early_core.o := n
KCOV_INSTRUMENT_sclp_early_core.o := n
UBSAN_SANITIZE_sclp_early_core.o := n
-ifneq ($(CC_FLAGS_MARCH),-march=z900)
-CFLAGS_REMOVE_sclp_early_core.o += $(CC_FLAGS_MARCH)
-CFLAGS_sclp_early_core.o += -march=z900
-endif
-
CFLAGS_sclp_early_core.o += -D__NO_FORTIFY
CFLAGS_REMOVE_sclp_early_core.o += $(CC_FLAGS_EXPOLINE)