Commit c47f214a authored by Michal Marek's avatar Michal Marek

kbuild: Do not run make clean in $(srctree)

Signed-off-by: default avatarMichal Marek <>
parent ef8ff89b
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment