Backported from kernel commit b421b8a6cb87 ("kbuild: remove unused archmrproper")
Signed-off-by: Ilias Apalodimas <ilias.apalodi...@linaro.org> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 09d36b8cbbed..00876ef54a2a 100644 --- a/Makefile +++ b/Makefile @@ -2281,7 +2281,7 @@ mrproper: rm-dirs := $(wildcard $(MRPROPER_DIRS)) mrproper: rm-files := $(wildcard $(MRPROPER_FILES)) mrproper-dirs := $(addprefix _mrproper_,scripts) -PHONY += $(mrproper-dirs) mrproper archmrproper +PHONY += $(mrproper-dirs) mrproper $(mrproper-dirs): $(Q)$(MAKE) $(clean)=$(patsubst _mrproper_%,%,$@) -- 2.49.0