]> git.baikalelectronics.ru Git - kernel.git/commitdiff
kbuild: doc: rename LDFLAGS to KBUILD_LDFLAGS
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 1 Jun 2020 17:03:28 +0000 (02:03 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 6 Jun 2020 14:39:20 +0000 (23:39 +0900)
Commit fcf7f88957e3 ("kbuild: rename LDFLAGS to KBUILD_LDFLAGS") missed
to update the documentation.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Documentation/kbuild/makefiles.rst

index 2a18aea7c043e1cea50dbe27a83064b89f10fcd4..6515ebc12b6f36a23cf98f932b42dc2442d299c0 100644 (file)
@@ -910,7 +910,7 @@ When kbuild executes, the following steps are followed (roughly):
 7.1 Set variables to tweak the build to the architecture
 --------------------------------------------------------
 
-    LDFLAGS
+    KBUILD_LDFLAGS
        Generic $(LD) options
 
        Flags used for all invocations of the linker.
@@ -919,7 +919,7 @@ When kbuild executes, the following steps are followed (roughly):
        Example::
 
                #arch/s390/Makefile
-               LDFLAGS         := -m elf_s390
+               KBUILD_LDFLAGS         := -m elf_s390
 
        Note: ldflags-y can be used to further customise
        the flags used. See chapter 3.7.