common/makefiles/MakeBase.gmk
changeset 13134 89d0de913efd
parent 13132 bd88bb8dd3af
child 13697 5262b00bc10c
equal deleted inserted replaced
13131:34281f24b33b 13134:89d0de913efd
   136 	$(if $(REPORT_BUILD_TIMES),$(call RecordEndTime,TOTAL) && $(call ReportBuildTimes,$1),)
   136 	$(if $(REPORT_BUILD_TIMES),$(call RecordEndTime,TOTAL) && $(call ReportBuildTimes,$1),)
   137 endef
   137 endef
   138 
   138 
   139 # Hook to be called as the very first thing when running a normal build
   139 # Hook to be called as the very first thing when running a normal build
   140 define AtRootMakeStart
   140 define AtRootMakeStart
       
   141 	$(if $(findstring -j,$(MAKEFLAGS)), $(error make -j is not supported, use make JOBS=n))
   141 	$(call PrintStartMessage)
   142 	$(call PrintStartMessage)
   142 	$(call StartTimer)
   143 	$(call StartTimer)
   143 endef
   144 endef
   144 
   145 
   145 # Hook to be called as the very last thing for targets that are "top level" targets
   146 # Hook to be called as the very last thing for targets that are "top level" targets