Lines Matching refs:clean
485 no-dot-config-targets := clean mrproper distclean \
545 # Build targets only - this includes vmlinux, arch specific targets, clean
975 echo >&2 " $(srctree) is not clean, please run 'make mrproper'"; \
1167 # make clean Delete most generated files
1172 # Directories & files removed with 'make clean'
1184 # clean - Delete most, but leave enough to build external modules
1186 clean: rm-dirs := $(CLEAN_DIRS)
1187 clean: rm-files := $(CLEAN_FILES)
1188 clean-dirs := $(addprefix _clean_, . $(vmlinux-alldirs) Documentation samples)
1190 PHONY += $(clean-dirs) clean archclean vmlinuxclean
1191 $(clean-dirs):
1192 $(Q)$(MAKE) $(clean)=$(patsubst _clean_%,%,$@)
1195 $(Q)$(CONFIG_SHELL) $(srctree)/scripts/link-vmlinux.sh clean
1197 clean: archclean vmlinuxclean
1207 $(Q)$(MAKE) $(clean)=$(patsubst _mrproper_%,%,$@)
1209 mrproper: clean archmrproper $(mrproper-dirs)
1248 @echo ' clean - Remove most generated files but keep the config and'
1361 # make M=dir clean Delete all automatically generated files
1404 clean-dirs := $(addprefix _clean_,$(KBUILD_EXTMOD))
1406 PHONY += $(clean-dirs) clean
1407 $(clean-dirs):
1408 $(Q)$(MAKE) $(clean)=$(patsubst _clean_%,%,$@)
1410 clean: rm-dirs := $(MODVERDIR)
1411 clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers
1419 @echo ' clean - remove generated files in module directory only'
1428 clean: $(clean-dirs)
1574 # clean it up only when building all modules