diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2022-09-24 20:19:11 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2022-09-28 21:42:00 +0200 |
commit | 26ef40de5cbb24728a34a319e8d42cdec99f186c (patch) | |
tree | 4d1b3432b9397117b06ee1156e8a9ac6f29da9a6 /Makefile | |
parent | kbuild: list sub-directories in ./Kbuild (diff) | |
download | linux-26ef40de5cbb24728a34a319e8d42cdec99f186c.tar.xz linux-26ef40de5cbb24728a34a319e8d42cdec99f186c.zip |
kbuild: move .vmlinux.objs rule to Makefile.modpost
.vmlinux.objs is used by modpost, so scripts/Makefile.modpost is
a better place to generate it.
It is used only when CONFIG_MODVERSIONS=y. It should be guarded
by "ifdef CONFIG_MODVERSIONS".
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1477,7 +1477,7 @@ endif # CONFIG_MODULES # Directories & files removed with 'make clean' CLEAN_FILES += include/ksym vmlinux.symvers modules-only.symvers \ modules.builtin modules.builtin.modinfo modules.nsdeps \ - compile_commands.json .thinlto-cache + compile_commands.json .thinlto-cache .vmlinux.objs # Directories & files removed with 'make mrproper' MRPROPER_FILES += include/config include/generated \ |