kbuild: rename KBUILD_ENABLE_EXTRA_GCC_CHECKS to KBUILD_EXTRA_WARN
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 31 Aug 2019 16:25:55 +0000 (01:25 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 6 Sep 2019 14:46:52 +0000 (23:46 +0900)
commite27128db62834c5b906585c2d97f0ddd431fa28f
tree14ce5ad32429d3364d18ed760c2efce3abaa2e8f
parent64a91907c896247c19f8314add2c9baa573fbd3c
kbuild: rename KBUILD_ENABLE_EXTRA_GCC_CHECKS to KBUILD_EXTRA_WARN

KBUILD_ENABLE_EXTRA_GCC_CHECKS started as a switch to add extra warning
options for GCC, but now it is a historical misnomer since we use it
also for Clang, DTC, and even kernel-doc.

Rename it to more sensible, shorter KBUILD_EXTRA_WARN.

For the backward compatibility, KBUILD_ENABLE_EXTRA_GCC_CHECKS is still
supported (but not advertised in the documentation).

I also fixed up 'make help', and updated the documentation.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Sedat Dilek <sedat.dilek@gmail.com>
Documentation/kbuild/kbuild.rst
Makefile
scripts/Makefile.build
scripts/Makefile.extrawarn
scripts/Makefile.lib
scripts/genksyms/Makefile