mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-19 20:12:32 +00:00
kbuild: Do not run make clean in $(srctree)
Signed-off-by: Michal Marek <mmarek@suse.cz>
This commit is contained in:
parent
ef8ff89b58
commit
c47f214ac6
2
Makefile
2
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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user