Skip to content

Commit c090157

Browse files
committed
kbuild: doc: rename LDFLAGS to KBUILD_LDFLAGS
Commit d503ac5 ("kbuild: rename LDFLAGS to KBUILD_LDFLAGS") missed to update the documentation. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
1 parent 3b09efc commit c090157

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Documentation/kbuild/makefiles.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ When kbuild executes, the following steps are followed (roughly):
910910
7.1 Set variables to tweak the build to the architecture
911911
--------------------------------------------------------
912912

913-
LDFLAGS
913+
KBUILD_LDFLAGS
914914
Generic $(LD) options
915915

916916
Flags used for all invocations of the linker.
@@ -919,7 +919,7 @@ When kbuild executes, the following steps are followed (roughly):
919919
Example::
920920

921921
#arch/s390/Makefile
922-
LDFLAGS := -m elf_s390
922+
KBUILD_LDFLAGS := -m elf_s390
923923

924924
Note: ldflags-y can be used to further customise
925925
the flags used. See chapter 3.7.

0 commit comments

Comments
 (0)