Re: [PATCH] Makefile: Remove Module.symvers when make clean
From: Masahiro Yamada
Date: Mon Dec 21 2020 - 22:47:40 EST
On Tue, Dec 22, 2020 at 12:00 PM Tiezhu Yang <yangtiezhu@xxxxxxxxxxx> wrote:
>
> Module.symvers still exists when make clean, remove it.
>
> Signed-off-by: Tiezhu Yang <yangtiezhu@xxxxxxxxxxx>
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