kbuild: remove internally used LDFLAGS_vmlinux from kbuild.txt
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 28 Feb 2018 10:14:24 +0000 (19:14 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 25 Mar 2018 17:01:21 +0000 (02:01 +0900)
commitbd0f98eba6840d99b791b36a01b83fc62d55235f
tree2ceac08e953d9f8b2e9a2592c4bf7b5eb2c46a26
parent35cd02bee6e3f2825ce254159102b788116872d9
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>
Documentation/kbuild/kbuild.txt