Commit c47f214ac65a45597917e017b7a1c617a56ac1cb
1 parent
ef8ff89b58
Exists in
master
and in
7 other branches
kbuild: Do not run make clean in $(srctree)
Signed-off-by: Michal Marek <mmarek@suse.cz>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
Makefile
... | ... | @@ -1180,7 +1180,7 @@ |
1180 | 1180 | # |
1181 | 1181 | clean: rm-dirs := $(CLEAN_DIRS) |
1182 | 1182 | clean: rm-files := $(CLEAN_FILES) |
1183 | -clean-dirs := $(addprefix _clean_,$(srctree) $(vmlinux-alldirs) Documentation) | |
1183 | +clean-dirs := $(addprefix _clean_, . $(vmlinux-alldirs) Documentation) | |
1184 | 1184 | |
1185 | 1185 | PHONY += $(clean-dirs) clean archclean |
1186 | 1186 | $(clean-dirs): |