kbuild: remove redundant $(wildcard ) for rm-files
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 27 Apr 2024 15:32:52 +0000 (00:32 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 9 May 2024 19:34:52 +0000 (04:34 +0900)
The $(wildcard ) is called in quiet_cmd_rmfiles.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <n.schier@avm.de>
Makefile

index c97c8d96061c57961dc57d3c8709b56c6b27bbd8..b73519492887f9d762a8a8b4fff0b4152f216590 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1515,7 +1515,7 @@ clean: archclean vmlinuxclean resolve_btfids_clean
 
 # mrproper - Delete all generated files, including .config
 #
-mrproper: rm-files := $(wildcard $(MRPROPER_FILES))
+mrproper: rm-files := $(MRPROPER_FILES)
 mrproper-dirs      := $(addprefix _mrproper_,scripts)
 
 PHONY += $(mrproper-dirs) mrproper