diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-02-28 05:14:24 -0500 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-03-25 13:01:21 -0400 |
commit | bd0f98eba6840d99b791b36a01b83fc62d55235f (patch) | |
tree | 2ceac08e953d9f8b2e9a2592c4bf7b5eb2c46a26 | |
parent | 35cd02bee6e3f2825ce254159102b788116872d9 (diff) |
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>
-rw-r--r-- | Documentation/kbuild/kbuild.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Documentation/kbuild/kbuild.txt b/Documentation/kbuild/kbuild.txt index ac2363ea05c5..6c9c69ec3986 100644 --- a/Documentation/kbuild/kbuild.txt +++ b/Documentation/kbuild/kbuild.txt | |||
@@ -50,10 +50,6 @@ LDFLAGS_MODULE | |||
50 | -------------------------------------------------- | 50 | -------------------------------------------------- |
51 | Additional options used for $(LD) when linking modules. | 51 | Additional options used for $(LD) when linking modules. |
52 | 52 | ||
53 | LDFLAGS_vmlinux | ||
54 | -------------------------------------------------- | ||
55 | Additional options passed to final link of vmlinux. | ||
56 | |||
57 | KBUILD_VERBOSE | 53 | KBUILD_VERBOSE |
58 | -------------------------------------------------- | 54 | -------------------------------------------------- |
59 | Set the kbuild verbosity. Can be assigned same values as "V=...". | 55 | Set the kbuild verbosity. Can be assigned same values as "V=...". |