Commit c0901577 authored by Masahiro Yamada's avatar Masahiro Yamada

kbuild: doc: rename LDFLAGS to KBUILD_LDFLAGS

Commit d503ac53 ("kbuild: rename LDFLAGS to KBUILD_LDFLAGS") missed
to update the documentation.
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 3b09efc4
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment