* [PATCH] Makefile: Remove Module.symvers when make clean
@ 2020-12-22 3:00 Tiezhu Yang
2020-12-22 3:46 ` Masahiro Yamada
0 siblings, 1 reply; 2+ messages in thread
From: Tiezhu Yang @ 2020-12-22 3:00 UTC (permalink / raw)
To: Masahiro Yamada, Michal Marek; +Cc: linux-kbuild, linux-kernel, Xuefeng Li
Module.symvers still exists when make clean, remove it.
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index e30cf02..8235bb7 100644
--- a/Makefile
+++ b/Makefile
@@ -1468,7 +1468,7 @@ endif # CONFIG_MODULES
# Directories & files removed with 'make clean'
CLEAN_FILES += include/ksym vmlinux.symvers \
- modules.builtin modules.builtin.modinfo modules.nsdeps \
+ modules.builtin modules.builtin.modinfo modules.nsdeps Module.symvers\
compile_commands.json
# Directories & files removed with 'make mrproper'
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Makefile: Remove Module.symvers when make clean
2020-12-22 3:00 [PATCH] Makefile: Remove Module.symvers when make clean Tiezhu Yang
@ 2020-12-22 3:46 ` Masahiro Yamada
0 siblings, 0 replies; 2+ messages in thread
From: Masahiro Yamada @ 2020-12-22 3:46 UTC (permalink / raw)
To: Tiezhu Yang
Cc: Michal Marek, Linux Kbuild mailing list,
Linux Kernel Mailing List, Xuefeng Li
On Tue, Dec 22, 2020 at 12:00 PM Tiezhu Yang <yangtiezhu@loongson.cn> wrote:
>
> Module.symvers still exists when make clean, remove it.
>
> Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
NACK.
Module.symver is removed by "make mrproper"
since it is needed for building external modules.
> ---
> Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index e30cf02..8235bb7 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1468,7 +1468,7 @@ endif # CONFIG_MODULES
>
> # Directories & files removed with 'make clean'
> CLEAN_FILES += include/ksym vmlinux.symvers \
> - modules.builtin modules.builtin.modinfo modules.nsdeps \
> + modules.builtin modules.builtin.modinfo modules.nsdeps Module.symvers\
> compile_commands.json
>
> # Directories & files removed with 'make mrproper'
> --
> 2.1.0
>
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-22 3:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-22 3:00 [PATCH] Makefile: Remove Module.symvers when make clean Tiezhu Yang
2020-12-22 3:46 ` Masahiro Yamada
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).