diff options
author | Masahiro Yamada | 2020-02-02 01:49:23 +0900 |
---|---|---|
committer | Masahiro Yamada | 2020-02-04 01:50:52 +0900 |
commit | faa7bdd7e9e1441ed82819b8db8bb43d3d3fd818 (patch) | |
tree | 84be5cd6c8cb0f95f6dd6fa5ff8a2f435e2e4825 /include/net | |
parent | c8fb7d7e48d11520ad24808cfce7afb7b9c9f798 (diff) |
kbuild: fix the document to use extra-y for vmlinux.lds
The difference between "always" and "extra-y" is that the targets
listed in $(always) are always built, whereas the ones in $(extra-y)
are built only when KBUILD_BUILTIN is set.
So, "make modules" does not build the targets in $(extra-y).
vmlinux.lds is only needed for linking vmlinux. So, adding it to extra-y
is more correct. In fact, arch/x86/kernel/Makefile does this.
Fix the example code.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions