Makefile
changeset 4309 39ca605f0647
parent 2099 a9be2da8a8f2
child 5499 eb0b3e373167
equal deleted inserted replaced
4085:517d870f8e23 4309:39ca605f0647
    49   JDK_MAKE_SHARED_DIR=$(JDK_TOPDIR)/make/common/shared
    49   JDK_MAKE_SHARED_DIR=$(JDK_TOPDIR)/make/common/shared
    50 endif
    50 endif
    51 
    51 
    52 # For start and finish echo lines
    52 # For start and finish echo lines
    53 TITLE_TEXT = Control $(PLATFORM) $(ARCH) $(RELEASE)
    53 TITLE_TEXT = Control $(PLATFORM) $(ARCH) $(RELEASE)
    54 DAYE_STAMP = `$(DATE) '+%y-%m-%d %H:%M'`
    54 DATE_STAMP = `$(DATE) '+%y-%m-%d %H:%M'`
    55 START_ECHO  = echo "$(TITLE_TEXT) $@ build started: $(DATE_STAMP)"
    55 START_ECHO  = echo "$(TITLE_TEXT) $@ build started: $(DATE_STAMP)"
    56 FINISH_ECHO = echo "$(TITLE_TEXT) $@ build finished: $(DATE_STAMP)"
    56 FINISH_ECHO = echo "$(TITLE_TEXT) $@ build finished: $(DATE_STAMP)"
    57 
    57 
    58 default: all
    58 default: all
    59 
    59 
   186 FRESH_DEBUG_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)-$(DEBUG_NAME)/j2sdk-image
   186 FRESH_DEBUG_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)-$(DEBUG_NAME)/j2sdk-image
   187   
   187   
   188 create_fresh_product_bootdir: FRC
   188 create_fresh_product_bootdir: FRC
   189 	@$(START_ECHO)
   189 	@$(START_ECHO)
   190 	$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
   190 	$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
   191 		NO_DOCS=true \
   191 		GENERATE_DOCS=false \
   192 		BOOT_CYCLE_SETTINGS= \
   192 		BOOT_CYCLE_SETTINGS= \
   193 		build_product_image
   193 		build_product_image
   194 	@$(FINISH_ECHO)
   194 	@$(FINISH_ECHO)
   195 
   195 
   196 create_fresh_debug_bootdir: FRC
   196 create_fresh_debug_bootdir: FRC
   197 	@$(START_ECHO)
   197 	@$(START_ECHO)
   198 	$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
   198 	$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
   199 		NO_DOCS=true \
   199 		GENERATE_DOCS=false \
   200 		BOOT_CYCLE_DEBUG_SETTINGS= \
   200 		BOOT_CYCLE_DEBUG_SETTINGS= \
   201 		build_debug_image
   201 		build_debug_image
   202 	@$(FINISH_ECHO)
   202 	@$(FINISH_ECHO)
   203 
   203 
   204 create_fresh_fastdebug_bootdir: FRC
   204 create_fresh_fastdebug_bootdir: FRC
   205 	@$(START_ECHO)
   205 	@$(START_ECHO)
   206 	$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
   206 	$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
   207 		NO_DOCS=true \
   207 		GENERATE_DOCS=false \
   208 		BOOT_CYCLE_DEBUG_SETTINGS= \
   208 		BOOT_CYCLE_DEBUG_SETTINGS= \
   209 		build_fastdebug_image
   209 		build_fastdebug_image
   210 	@$(FINISH_ECHO)
   210 	@$(FINISH_ECHO)
   211 
   211 
   212 # Create boot image?
   212 # Create boot image?
   251 generic_debug_build:
   251 generic_debug_build:
   252 	@$(START_ECHO)
   252 	@$(START_ECHO)
   253 	$(MAKE) \
   253 	$(MAKE) \
   254 		ALT_OUTPUTDIR=$(ABS_OUTPUTDIR)-$(DEBUG_NAME) \
   254 		ALT_OUTPUTDIR=$(ABS_OUTPUTDIR)-$(DEBUG_NAME) \
   255 	        DEBUG_NAME=$(DEBUG_NAME) \
   255 	        DEBUG_NAME=$(DEBUG_NAME) \
   256 		NO_DOCS=true \
   256 		GENERATE_DOCS=false \
   257 	        $(BOOT_CYCLE_DEBUG_SETTINGS) \
   257 	        $(BOOT_CYCLE_DEBUG_SETTINGS) \
   258 		generic_build_repo_series
   258 		generic_build_repo_series
   259 	@$(FINISH_ECHO)
   259 	@$(FINISH_ECHO)
   260 
   260 
   261 build_debug_image:
   261 build_debug_image:
   321 	@$(ECHO) " "
   321 	@$(ECHO) " "
   322 	$(RM) -r $(OPENJDK_OUTPUTDIR)
   322 	$(RM) -r $(OPENJDK_OUTPUTDIR)
   323 	$(MKDIR) -p $(OPENJDK_OUTPUTDIR)
   323 	$(MKDIR) -p $(OPENJDK_OUTPUTDIR)
   324 	($(CD) $(OPENJDK_BUILDDIR) && $(MAKE) \
   324 	($(CD) $(OPENJDK_BUILDDIR) && $(MAKE) \
   325 	  OPENJDK=true \
   325 	  OPENJDK=true \
   326 	  NO_DOCS=true \
   326 	  GENERATE_DOCS=false \
   327 	  ALT_JDK_DEVTOOLS_DIR=$(JDK_DEVTOOLS_DIR) \
   327 	  ALT_JDK_DEVTOOLS_DIR=$(JDK_DEVTOOLS_DIR) \
   328 	  ALT_OUTPUTDIR=$(OPENJDK_OUTPUTDIR) \
   328 	  ALT_OUTPUTDIR=$(OPENJDK_OUTPUTDIR) \
   329 	  ALT_BINARY_PLUGS_PATH=$(OPENJDK_PLUGS) \
   329 	  ALT_BINARY_PLUGS_PATH=$(OPENJDK_PLUGS) \
   330 	  ALT_BOOTDIR=$(OPENJDK_BOOTDIR) \
   330 	  ALT_BOOTDIR=$(OPENJDK_BOOTDIR) \
   331 	  ALT_JDK_IMPORT_PATH=$(OPENJDK_IMPORTJDK) \
   331 	  ALT_JDK_IMPORT_PATH=$(OPENJDK_IMPORTJDK) \