Skip to content

Commit

Permalink
kbuild: doc: rename LDFLAGS to KBUILD_LDFLAGS
Browse files Browse the repository at this point in the history
Commit d503ac5 ("kbuild: rename LDFLAGS to KBUILD_LDFLAGS") missed
to update the documentation.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
  • Loading branch information
Masahiro Yamada committed Jun 6, 2020
1 parent 3b09efc commit c090157
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/kbuild/makefiles.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down

0 comments on commit c090157

Please sign in to comment.