]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Documentation/llvm: drop note about LLVM=0
authorThomas Weißschuh <linux@weissschuh.net>
Thu, 26 Feb 2026 21:23:57 +0000 (22:23 +0100)
committerNicolas Schier <nsc@kernel.org>
Tue, 3 Mar 2026 16:41:50 +0000 (17:41 +0100)
Since commit 502678b88cb3 ("kbuild: Reject unexpected values for LLVM=")
LLVM=0 generates an error instead of silently behaving unexpectedly.

Drop the now unnecessary note.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Nicolas Schier <nsc@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Link: https://patch.msgid.link/20260226-kbuild-llvm-followup-v1-1-201cc2a492d9@weissschuh.net
Signed-off-by: Nicolas Schier <nsc@kernel.org>
Documentation/kbuild/llvm.rst

index bc8a283bc44bbfa9948ad3c9fe8031269ce10be4..441d8786fcbce90fd9dfea225245e836b0c414a1 100644 (file)
@@ -71,10 +71,6 @@ recommend::
 
        PATH=/path/to/llvm/:$PATH make LLVM=-14
 
-``LLVM=0`` is not the same as omitting ``LLVM`` altogether, it will behave like
-``LLVM=1``. If you only wish to use certain LLVM utilities, use their
-respective make variables.
-
 The same value used for ``LLVM=`` should be set for each invocation of ``make``
 if configuring and building via distinct commands. ``LLVM=`` should also be set
 as an environment variable when running scripts that will eventually run