[PATCH] kbuild: remove *.symversions left-over

Masahiro Yamada posted 1 patch 1 year, 5 months ago
.gitignore | 1 -
Makefile   | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
[PATCH] kbuild: remove *.symversions left-over
Posted by Masahiro Yamada 1 year, 5 months ago
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@kernel.org>
---

 .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
Re: [PATCH] kbuild: remove *.symversions left-over
Posted by Nathan Chancellor 1 year, 5 months ago
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@kernel.org>

Reviewed-by: Nathan Chancellor <nathan@kernel.org>

> ---
> 
>  .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
>