common/makefiles/Jprt.gmk

changeset 589
c3bf62746a80
parent 588
edad83acbd46
child 610
dea045cc48ca
equal deleted inserted replaced
588:edad83acbd46 589:c3bf62746a80
148 # JPRT targets 148 # JPRT targets
149 149
150 ifndef JPRT_ARCHIVE_BUNDLE 150 ifndef JPRT_ARCHIVE_BUNDLE
151 JPRT_ARCHIVE_BUNDLE=/tmp/jprt_bundles/j2sdk-image.zip 151 JPRT_ARCHIVE_BUNDLE=/tmp/jprt_bundles/j2sdk-image.zip
152 endif 152 endif
153 ifndef JPRT_ARCHIVE_INSTALL_BUNDLE
154 JPRT_ARCHIVE_INSTALL_BUNDLE=/tmp/jprt_bundles/product-install.zip
155 endif
153 156
154 # These targets execute in a SPEC free context, before calling bridgeBuild 157 # These targets execute in a SPEC free context, before calling bridgeBuild
155 # to generate the SPEC. 158 # to generate the SPEC.
156 jprt_build_product: DEBUG_LEVEL=release 159 jprt_build_product: DEBUG_LEVEL=release
157 jprt_build_product: BUILD_DIRNAME=*-release 160 jprt_build_product: BUILD_DIRNAME=*-release
186 $(CD) $(JDK_OVERLAY_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2sdk-image.zip . 189 $(CD) $(JDK_OVERLAY_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2sdk-image.zip .
187 $(CD) $(JRE_OVERLAY_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2re-image.zip . 190 $(CD) $(JRE_OVERLAY_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2re-image.zip .
188 else 191 else
189 $(CD) $(JDK_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2sdk-image.zip . 192 $(CD) $(JDK_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2sdk-image.zip .
190 $(CD) $(JRE_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2re-image.zip . 193 $(CD) $(JRE_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2re-image.zip .
194 if [ -d $(BUILD_OUTPUT)/install/bundles ] ; then \
195 $(CD) $(BUILD_OUTPUT)/install/bundles && $(ZIP) -q -r $(JPRT_ARCHIVE_INSTALL_BUNDLE) . ; \
196 fi
191 endif 197 endif
192 @$(call TargetExit) 198 @$(call TargetExit)
193 199
194 # Keep track of phony targets 200 # Keep track of phony targets
195 PHONY_LIST += jprt_build_product jprt_build_fastdebug jprt_build_debug \ 201 PHONY_LIST += jprt_build_product jprt_build_fastdebug jprt_build_debug \

mercurial