Skip to content

Commit bd0f98e

Browse files
committed
kbuild: remove internally used LDFLAGS_vmlinux from kbuild.txt
Documentation/kbuild/makefiles.txt lists variables used in Makefile whereas Documentation/kbuild/kbuild.txt describes user assignable parameters given via environments or the command line. The top Makefile and arch/*/Makefile accumulate proper linker flags to LDFLAGS_vmlinux. So, users can not override it from the command line. Generally, per-file options are not supposed to be user-assignable. Remove the misleading entry from kbuild.txt. If we need a way to append user-specific flags for linking the kernel, LDFLAGS_KERNEL would be a consistent choice because we already expose LDFLAGS_MODULE counter-part to users. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
1 parent 35cd02b commit bd0f98e

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎Documentation/kbuild/kbuild.txt‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ LDFLAGS_MODULE
5050
--------------------------------------------------
5151
Additional options used for $(LD) when linking modules.
5252

53-
LDFLAGS_vmlinux
54-
--------------------------------------------------
55-
Additional options passed to final link of vmlinux.
56-
5753
KBUILD_VERBOSE
5854
--------------------------------------------------
5955
Set the kbuild verbosity. Can be assigned same values as "V=...".

0 commit comments

Comments
 (0)