From: Michal Marek Date: Fri, 3 Sep 2010 13:00:22 +0000 (+0200) Subject: kbuild: Do not run make clean in $(srctree) X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c47f214ac65a45597917e017b7a1c617a56ac1cb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git kbuild: Do not run make clean in $(srctree) Signed-off-by: Michal Marek --- diff --git a/Makefile b/Makefile index b98943a466c5..d71bfdee7fbe 100644 --- a/Makefile +++ b/Makefile @@ -1180,7 +1180,7 @@ MRPROPER_FILES += .config .config.old .version .old_version \ # clean: rm-dirs := $(CLEAN_DIRS) clean: rm-files := $(CLEAN_FILES) -clean-dirs := $(addprefix _clean_,$(srctree) $(vmlinux-alldirs) Documentation) +clean-dirs := $(addprefix _clean_, . $(vmlinux-alldirs) Documentation) PHONY += $(clean-dirs) clean archclean $(clean-dirs):