Lines Matching refs:cmd
174 echo-cmd = $(if $($(quiet)cmd_$(1)),\
204 cmd = @set -e; $(echo-cmd) $($(quiet)redirect) $(delete-on-interrupt) $(cmd_$(1))
217 cmd-check = $(filter-out $(subst $(space),$(space_escape),$(strip $(cmd_$@))), \
220 cmd-check = $(if $(strip $(cmd_$@)),,1)
223 # Replace >$< with >$$< to preserve $ when reloading the .cmd file
225 # Replace >#< with >$(pound)< to avoid starting a comment in the .cmd file
229 make-cmd = $(call escsq,$(subst $(pound),$$(pound),$(subst $$,$$$$,$(cmd_$(1)))))
239 if_changed = $(if $(newer-prereqs)$(cmd-check), \
240 $(cmd); \
241 printf '%s\n' 'cmd_$@ := $(make-cmd)' > $(dot-target).cmd, @:)
244 if_changed_dep = $(if $(newer-prereqs)$(cmd-check),$(cmd_and_fixdep),@:)
247 $(cmd); \
248 scripts/basic/fixdep $(depfile) $@ '$(make-cmd)' > $(dot-target).cmd;\
254 if_changed_rule = $(if $(newer-prereqs)$(cmd-check),$(rule_$(1)),@:)
264 # (5) - due to missing .cmd file
269 # (4) The command line stored in the file named dir/.target.cmd
272 # (5) No dir/.target.cmd file (used to store command line)
273 # (6) No dir/.target.cmd file and target not listed in $(targets)
280 $(if $(cmd-check), \
283 - due to missing .cmd file, \