common/makefiles/MakeHelpers.gmk

changeset 514
e69396d6d3e8
parent 507
f2ac4d0edaae
child 559
ef6adbf511cc
equal deleted inserted replaced
513:f59a07f85125 514:e69396d6d3e8
140 140
141 # Hook to be called when finish executing a top-level target 141 # Hook to be called when finish executing a top-level target
142 define TargetExit 142 define TargetExit
143 $(call RecordEndTime,$(patsubst %-only,%,$@)) 143 $(call RecordEndTime,$(patsubst %-only,%,$@))
144 $(BUILD_LOG_WRAPPER) $(PRINTF) "## Finished $(patsubst %-only,%,$@) (build time %s)\n\n" \ 144 $(BUILD_LOG_WRAPPER) $(PRINTF) "## Finished $(patsubst %-only,%,$@) (build time %s)\n\n" \
145 "`$(CAT) $(BUILDTIMESDIR)/build_time_diff_$(patsubst %-only,%,$@) | $(CUT) -f 1 -d " "`" 145 "`$(CAT) $(BUILDTIMESDIR)/build_time_diff_$(patsubst %-only,%,$@) | $(CUT) -f 1 -d ' '`"
146 $(call CheckIfMakeAtEnd) 146 $(call CheckIfMakeAtEnd)
147 endef 147 endef
148 148
149 # Hook to be called as the very first thing when running a normal build 149 # Hook to be called as the very first thing when running a normal build
150 define AtMakeStart 150 define AtMakeStart

mercurial