diff options
| author | Masahiro Yamada <[email protected]> | 2025-06-02 18:12:53 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2025-06-07 05:37:50 +0000 |
| commit | 1bf807b8f7e0eada62007f9f1966f3d22329eef9 (patch) | |
| tree | e61387c6b92f9bd9631b881d26a2684da1b05f6c /drivers/net/xen-netback/netback.c | |
| parent | efi/libstub: use 'targets' instead of extra-y in Makefile (diff) | |
| download | kernel-1bf807b8f7e0eada62007f9f1966f3d22329eef9.tar.gz kernel-1bf807b8f7e0eada62007f9f1966f3d22329eef9.zip | |
kbuild: set y instead of 1 to KBUILD_{BUILTIN,MODULES}
KBUILD_BUILTIN is set to 1 unless you are building only modules.
KBUILD_MODULES is set to 1 when you are building only modules
(a typical use case is "make modules").
It is more useful to set them to 'y' instead, so we can do
something like:
always-$(KBUILD_BUILTIN) += vmlinux.lds
This works equivalently to:
extra-y += vmlinux.lds
This allows us to deprecate extra-y. extra-y and always-y are quite
similar, and we do not need both.
Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Reviewed-by: Nicolas Schier <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/netback.c')
0 files changed, 0 insertions, 0 deletions
