Lines Matching refs:clean

475 no-dot-config-targets := clean mrproper distclean \
535 # Build targets only - this includes vmlinux, arch specific targets, clean
971 echo >&2 " $(srctree) is not clean, please run 'make mrproper'"; \
1081 kselftest-clean:
1082 $(Q)$(MAKE) -C tools/testing/selftests clean
1166 # make clean Delete most generated files
1171 # Directories & files removed with 'make clean'
1183 # clean - Delete most, but leave enough to build external modules
1185 clean: rm-dirs := $(CLEAN_DIRS)
1186 clean: rm-files := $(CLEAN_FILES)
1187 clean-dirs := $(addprefix _clean_, . $(vmlinux-alldirs) Documentation samples)
1189 PHONY += $(clean-dirs) clean archclean vmlinuxclean
1190 $(clean-dirs):
1191 $(Q)$(MAKE) $(clean)=$(patsubst _clean_%,%,$@)
1194 $(Q)$(CONFIG_SHELL) $(srctree)/scripts/link-vmlinux.sh clean
1196 clean: archclean vmlinuxclean
1206 $(Q)$(MAKE) $(clean)=$(patsubst _mrproper_%,%,$@)
1208 mrproper: clean archmrproper $(mrproper-dirs)
1247 @echo ' clean - Remove most generated files but keep the config and'
1291 @echo ' kselftest-clean - Remove all generated kselftest files'
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)
1575 # clean it up only when building all modules