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>
Showing
- Documentation/kbuild/kbuild.rst 9 additions, 5 deletionsDocumentation/kbuild/kbuild.rst
- Makefile 1 addition, 1 deletionMakefile
- scripts/Makefile.build 1 addition, 1 deletionscripts/Makefile.build
- scripts/Makefile.extrawarn 9 additions, 4 deletionsscripts/Makefile.extrawarn
- scripts/Makefile.lib 2 additions, 2 deletionsscripts/Makefile.lib
- scripts/genksyms/Makefile 1 addition, 1 deletionscripts/genksyms/Makefile
Loading
Please register or sign in to comment