1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-26 02:25:00 -05:00

kbuild: doc: rename LDFLAGS to KBUILD_LDFLAGS

Commit d503ac531a ("kbuild: rename LDFLAGS to KBUILD_LDFLAGS") missed
to update the documentation.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
Masahiro Yamada 2020-06-02 02:03:28 +09:00
parent 3b09efc4f0
commit c0901577e1

View 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.