175 |
176 |
176 # This target must be called in the context of a SPEC file |
177 # This target must be called in the context of a SPEC file |
177 bundles: all |
178 bundles: all |
178 @$(call TargetEnter) |
179 @$(call TargetEnter) |
179 $(MKDIR) -p $(BUILD_OUTPUT)/bundles |
180 $(MKDIR) -p $(BUILD_OUTPUT)/bundles |
180 $(CD) $(IMAGES_OUTPUTDIR)/j2sdk-image && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2sdk-image.zip . |
181 ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_BITS),solaris-64) |
181 $(CD) $(IMAGES_OUTPUTDIR)/j2re-image && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2re-image.zip . |
182 $(CD) $(JDK_OVERLAY_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2sdk-image.zip . |
|
183 $(CD) $(JRE_OVERLAY_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2re-image.zip . |
|
184 else |
|
185 $(CD) $(JDK_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2sdk-image.zip . |
|
186 $(CD) $(JRE_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2re-image.zip . |
|
187 endif |
182 @$(call TargetExit) |
188 @$(call TargetExit) |
183 |
189 |
184 # Keep track of phony targets |
190 # Keep track of phony targets |
185 PHONY_LIST += jprt_build_product jprt_build_fastdebug jprt_build_debug \ |
191 PHONY_LIST += jprt_build_product jprt_build_fastdebug jprt_build_debug \ |
186 jprt_build_generic bundles jprt_bundle |
192 jprt_build_generic bundles jprt_bundle |