1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-26 18:43:33 -05:00
linux/Documentation/kbuild
Johannes Berg 56b0f453db kernel-doc: don't let V=1 change outcome
The kernel-doc script currently reports a number of issues
only in "verbose" mode, but that's initialized from V=1
(via KBUILD_VERBOSE), so if you use KDOC_WERROR=1 then
adding V=1 might actually break the build. This is rather
unexpected.

Change kernel-doc to not change its behaviour wrt. errors
(or warnings) when verbose mode is enabled, but rather add
separate warning flags (and -Wall) for it. Allow enabling
those flags via environment/make variables in the kernel's
build system for easier user use, but to not have to parse
them in the script itself.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2023-06-10 16:39:02 +09:00
..
gcc-plugins.rst
headers_install.rst
index.rst
issues.rst
kbuild.rst kernel-doc: don't let V=1 change outcome 2023-06-10 16:39:02 +09:00
kconfig-language.rst
kconfig-macro-language.rst
Kconfig.recursion-issue-01
Kconfig.recursion-issue-02
kconfig.rst
Kconfig.select-break
llvm.rst Documentation/llvm: Add a note about prebuilt kernel.org toolchains 2023-04-08 22:48:15 +09:00
makefiles.rst docs: kbuild: remove description of KBUILD_LDS_MODULE 2023-02-26 15:28:23 +09:00
modules.rst
reproducible-builds.rst