Re: [PATCH] kbuild: remove *.symversions left-over
From: Nathan Chancellor
Date: Tue Aug 20 2024 - 17:56:07 EST
On Sun, Aug 18, 2024 at 05:37:29PM +0900, Masahiro Yamada wrote:
> Commit 5ce2176b81f7 ("genksyms: adjust the output format to modpost")
> stopped generating *.symversions files.
>
> Remove the left-over from the .gitignore file and the 'clean' rule.
>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
Reviewed-by: Nathan Chancellor <nathan@xxxxxxxxxx>
> ---
>
> .gitignore | 1 -
> Makefile | 2 +-
> 2 files changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/.gitignore b/.gitignore
> index 7902adf4f7f1..ac8c667c0df6 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -46,7 +46,6 @@
> *.so.dbg
> *.su
> *.symtypes
> -*.symversions
> *.tab.[ch]
> *.tar
> *.xz
> diff --git a/Makefile b/Makefile
> index 0a364e34f50b..c8d651a30397 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1946,7 +1946,7 @@ clean: $(clean-dirs)
> -o -name '*.c.[012]*.*' \
> -o -name '*.ll' \
> -o -name '*.gcno' \
> - -o -name '*.*.symversions' \) -type f -print \
> + \) -type f -print \
> -o -name '.tmp_*' -print \
> | xargs rm -rf
>
> --
> 2.43.0
>