summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2010-09-03 17:00:22 +0400
committerMichal Marek <mmarek@suse.cz>2010-09-04 00:50:35 +0400
commitc47f214ac65a45597917e017b7a1c617a56ac1cb (patch)
tree8795ea5b96529ddd35ad610e7b9efcc0ad1fa6a9 /Makefile
parentef8ff89b58546055e238c3b521f83b440dfe8ef2 (diff)
downloadlinux-c47f214ac65a45597917e017b7a1c617a56ac1cb.tar.xz
kbuild: Do not run make clean in $(srctree)
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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):