From 5e41e0b28170221ce1a3077298a04059f1da6059 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Tue, 2 Jun 2020 02:03:28 +0900 Subject: [PATCH] kbuild: doc: rename LDFLAGS to KBUILD_LDFLAGS Commit fcf7f88957e3 ("kbuild: rename LDFLAGS to KBUILD_LDFLAGS") missed to update the documentation. Signed-off-by: Masahiro Yamada --- Documentation/kbuild/makefiles.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/kbuild/makefiles.rst b/Documentation/kbuild/makefiles.rst index 2a18aea7c043e..6515ebc12b6f3 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. -- 2.39.5