Lines Matching +full:- +full:- +full:rm

6 # any sub-makefile can use them.
9 # Since this Makefile won't call any sub-makefiles, and since the commands do
38 # $(PLATFORM)-$(PLATFORM_FLAVOR) for convenience
39 ifneq (,$(findstring -,$(PLATFORM)))
40 ops := $(join PLATFORM PLATFORM_FLAVOR,$(addprefix =,$(subst -, ,$(PLATFORM))))
47 # Default value for PLATFORM_FLAVOR is set in plat-$(PLATFORM)/conf.mk
50 out-dir := $(O)/$(ARCH)-plat-$(PLATFORM)
52 out-dir := $(O)
59 cmd-echo := true
60 cmd-echo-silent := echo
63 cmd-echo := echo
64 cmd-echo-silent := true
67 ifneq ($(filter 4.%,$(MAKE_VERSION)),) # make-4
69 cmd-echo-silent := true
71 else # make-3.8x
73 cmd-echo-silent := true
82 ta-targets ?= invalid
83 $(call force,default-user-ta-target,$(firstword $(ta-targets)))
87 define build-ta-target
88 ta-target := $(1)
91 $(foreach t, $(ta-targets), $(eval $(call build-ta-target, $(t))))
95 define build-user-ta
96 ta-mk-file := $(1)
97 include ta/mk/build-user-ta.mk
99 $(foreach t, $(sort $(wildcard ta/*/user_ta.mk)), $(eval $(call build-user-ta,$(t))))
107 @$(cmd-echo-silent) ' CLEAN $(out-dir)'
108 $(call do-rm-f, $(cleanfiles))
109 ${q}dirs="$(call cleandirs-for-rmdir)"; if [ "$$dirs" ]; then $(RMDIR) $$dirs; fi
110 @if [ "$(out-dir)" != "$(O)" ]; then $(cmd-echo-silent) ' CLEAN $(O)'; fi
111 ${q}if [ -d "$(O)" ]; then $(RMDIR) $(O); fi
112 ${q}rm -f compile_commands.json
117 ${q}rm -f cscope.*
118 ${q}find $(PWD) -name "*.[chSs]" | grep -v export-ta_ | \
119 grep -v -F _init.ld.S | grep -v -F _unpaged.ld.S > cscope.files
120 ${q}cscope -b -q -k
122 .PHONY: checkpatch checkpatch-staging checkpatch-working
123 checkpatch: checkpatch-staging checkpatch-working
125 checkpatch-working:
128 checkpatch-staging:
129 ${q}./scripts/checkpatch.sh --cached