summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2010-09-03 15:00:22 +0200
committerMichal Marek <mmarek@suse.cz>2010-09-03 22:50:35 +0200
commitc47f214ac65a45597917e017b7a1c617a56ac1cb (patch)
tree8795ea5b96529ddd35ad610e7b9efcc0ad1fa6a9
parentkbuild: Really don't clean bounds.h and asm-offsets.h (diff)
downloadlinux-c47f214ac65a45597917e017b7a1c617a56ac1cb.tar.xz
linux-c47f214ac65a45597917e017b7a1c617a56ac1cb.zip
kbuild: Do not run make clean in $(srctree)
Signed-off-by: Michal Marek <mmarek@suse.cz>
-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):