OpenCloudOS-Kernel/arch/s390/purgatory
Nathan Chancellor 66bfe497d0 s390/purgatory: Remove unused '-MD' and unnecessary '-c' flags
When clang's -Qunused-arguments is dropped from KBUILD_CPPFLAGS, it
warns while building objects in the purgatory folder:

  clang-16: error: argument unused during compilation: '-MD' [-Werror,-Wunused-command-line-argument]

'-MMD' is always passed to the preprocessor via c_flags, even when
KBUILD_CFLAGS is overridden in a folder, so clang complains the addition
of '-MD' will be unused. Remove '-MD' to clear up this warning, as it is
unnecessary with '-MMD'.

Additionally, '-c' is also unnecessary, remove it while in the area.

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Sven Schnelle <svens@linux.ibm.com>
Tested-by: Linux Kernel Functional Testing <lkft@linaro.org>
Tested-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2023-01-26 12:43:05 +09:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Makefile s390/purgatory: Remove unused '-MD' and unnecessary '-c' flags 2023-01-26 12:43:05 +09:00
head.S s390/purgatory: workaround llvm's IAS limitations 2022-05-17 15:16:28 +02:00
kexec-purgatory.S s390/purgatory: Omit use of bin2c 2019-04-29 10:43:55 +02:00
purgatory.c crypto: sha - split sha.h into sha1.h and sha2.h 2020-11-20 14:45:33 +11:00
purgatory.lds.S s390/purgatory: Reduce purgatory size 2019-04-29 10:43:53 +02:00
string.c s390/purgatory: do not build purgatory with kcov, kasan and friends 2019-12-18 23:29:26 +01:00