[PATCH 1/2] kbuild: remove redundant $(wildcard ) for rm-files

From: Masahiro Yamada
Date: Sat Apr 27 2024 - 11:33:42 EST


The $(wildcard ) is called in quiet_cmd_rmfiles.

Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
---

Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index a1c19979e13e..62557fabfee5 100644
--- a/Makefile
+++ b/Makefile
@@ -1512,7 +1512,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
--
2.40.1