diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-06-02 02:03:28 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-06-06 23:39:20 +0900 |
commit | c0901577e1dcc8d1c0fd1a11c8d571f650df845f (patch) | |
tree | 3b206b43d5a61fb23f1b27683e59b1edcb315afa | |
parent | 3b09efc4f0c94669a928c0453d2dcb54c59543f2 (diff) | |
download | linux-c0901577e1dcc8d1c0fd1a11c8d571f650df845f.tar.bz2 |
kbuild: doc: rename LDFLAGS to KBUILD_LDFLAGS
Commit d503ac531a52 ("kbuild: rename LDFLAGS to KBUILD_LDFLAGS") missed
to update the documentation.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
-rw-r--r-- | Documentation/kbuild/makefiles.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/kbuild/makefiles.rst b/Documentation/kbuild/makefiles.rst index 2a18aea7c043..6515ebc12b6f 100644 --- a/Documentation/kbuild/makefiles.rst +++ b/Documentation/kbuild/makefiles.rst @@ -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. |