Lines Matching refs:cmd
153 cmd = @$(if $(cmd_$(1)),set -e; $($(quiet)log_print) $(delete-on-interrupt) $(cmd_$(1)),:)
166 # If the target does not exist, the *.cmd file should not be included so
169 cmd-check = $(filter-out $(subst $(space),$(space_escape),$(strip $(savedcmd_$@))), \
173 cmd-check = $(if $(strip $(savedcmd_$@)),,1)
176 # Replace >$< with >$$< to preserve $ when reloading the .cmd file
178 # Replace >#< with >$(pound)< to avoid starting a comment in the .cmd file
182 make-cmd = $(call escsq,$(subst $(pound),$$(pound),$(subst $$,$$$$,$(cmd_$(1)))))
187 # empty even if the target does not exist. cmd-check saves this corner case.
194 if-changed-cond = $(newer-prereqs)$(cmd-check)$(check-FORCE)
200 $(cmd); \
201 printf '%s\n' 'savedcmd_$@ := $(make-cmd)' > $(dot-target).cmd
207 $(cmd); \
208 $(objtree)/scripts/basic/fixdep $(depfile) $@ '$(make-cmd)' > $(dot-target).cmd;\
224 # (5) - due to missing .cmd file
229 # (4) The command line stored in the file named dir/.target.cmd
232 # (5) No dir/.target.cmd file (used to store command line)
233 # (6) No dir/.target.cmd file and target not listed in $(targets)
240 $(if $(cmd-check), \
243 - due to missing .cmd file, \