Makefile

changeset 334
3bd41d40ab97
parent 330
7e13dbf7e8af
child 340
14b8e7eee105
equal deleted inserted replaced
332:7ed6d0b9aaa1 334:3bd41d40ab97
95 define StopTimer 95 define StopTimer
96 $(if $(REPORT_BUILD_TIMES),$(call RecordEndTime,TOTAL) && $(call ReportBuildTimes,$1),) 96 $(if $(REPORT_BUILD_TIMES),$(call RecordEndTime,TOTAL) && $(call ReportBuildTimes,$1),)
97 endef 97 endef
98 98
99 # Generic build of basic repo series 99 # Generic build of basic repo series
100 generic_build_repo_series:: 100 generic_build_repo_series:: $(SOURCE_TIPS)
101 $(MKDIR) -p $(OUTPUTDIR) 101 $(MKDIR) -p $(OUTPUTDIR)
102 $(MKDIR) -p $(OUTPUTDIR)/j2sdk-image 102 $(MKDIR) -p $(OUTPUTDIR)/j2sdk-image
103 @$(call StartTimer) 103 @$(call StartTimer)
104 104
105 ifeq ($(BUILD_LANGTOOLS), true) 105 ifeq ($(BUILD_LANGTOOLS), true)
240 240
241 # Build final image 241 # Build final image
242 product_build:: build_product_image 242 product_build:: build_product_image
243 debug_build:: build_debug_image 243 debug_build:: build_debug_image
244 fastdebug_build:: build_fastdebug_image 244 fastdebug_build:: build_fastdebug_image
245
246 # The source tips are stored with the relative path to the repo.
247 # This file will be used when constructing the jdk image.
248 source_tips: $(SOURCE_TIPS)
249 $(CAT) $<
250 $(SOURCE_TIPS): FRC
251 @$(prep-target)
252 @$(call GetSourceTips)
245 253
246 clobber:: REPORT_BUILD_TIMES= 254 clobber:: REPORT_BUILD_TIMES=
247 clobber:: 255 clobber::
248 $(RM) -r $(OUTPUTDIR)/* 256 $(RM) -r $(OUTPUTDIR)/*
249 $(RM) -r $(OUTPUTDIR)/../$(PLATFORM)-$(ARCH)-debug/* 257 $(RM) -r $(OUTPUTDIR)/../$(PLATFORM)-$(ARCH)-debug/*

mercurial