@@ -174,9 +174,11 @@ else
174
174
JRE_IMAGE_HOMEDIR := $(JRE_IMAGE_DIR)
175
175
JDK_BUNDLE_SUBDIR := jdk-$(VERSION_NUMBER)
176
176
JRE_BUNDLE_SUBDIR := jre-$(VERSION_NUMBER)
177
+ STATIC_JDK_BUNDLE_SUBDIR := static-jdk-$(VERSION_NUMBER)
177
178
ifneq ($(DEBUG_LEVEL), release)
178
179
JDK_BUNDLE_SUBDIR := $(JDK_BUNDLE_SUBDIR)/$(DEBUG_LEVEL)
179
180
JRE_BUNDLE_SUBDIR := $(JRE_BUNDLE_SUBDIR)/$(DEBUG_LEVEL)
181
+ STATIC_JDK_BUNDLE_SUBDIR := $(STATIC_JDK_BUNDLE_SUBDIR)/$(DEBUG_LEVEL)
180
182
endif
181
183
# In certain situations, the JDK_IMAGE_DIR points to an image without the
182
184
# the symbols and demos. If so, the symobls and demos can be found in a
@@ -500,6 +502,21 @@ ifneq ($(filter static-libs-graal-bundles, $(MAKECMDGOALS)), )
500
502
STATIC_LIBS_GRAAL_TARGETS += $(BUILD_STATIC_LIBS_GRAAL_BUNDLE)
501
503
endif
502
504
505
+ #################################################################################
506
+
507
+ ifneq ($(filter static-jdk-bundles, $(MAKECMDGOALS)), )
508
+ STATIC_JDK_BUNDLE_FILES := $(call FindFiles, $(STATIC_JDK_IMAGE_DIR))
509
+
510
+ $(eval $(call SetupBundleFile, BUILD_STATIC_JDK_BUNDLE, \
511
+ BUNDLE_NAME := $(STATIC_JDK_BUNDLE_NAME), \
512
+ FILES := $(STATIC_JDK_BUNDLE_FILES), \
513
+ BASE_DIRS := $(STATIC_JDK_IMAGE_DIR), \
514
+ SUBDIR := $(STATIC_JDK_BUNDLE_SUBDIR), \
515
+ ))
516
+
517
+ STATIC_JDK_TARGETS += $(BUILD_STATIC_JDK_BUNDLE)
518
+ endif
519
+
503
520
################################################################################
504
521
505
522
product-bundles: $(PRODUCT_TARGETS)
@@ -510,11 +527,12 @@ docs-javase-bundles: $(DOCS_JAVASE_TARGETS)
510
527
docs-reference-bundles: $(DOCS_REFERENCE_TARGETS)
511
528
static-libs-bundles: $(STATIC_LIBS_TARGETS)
512
529
static-libs-graal-bundles: $(STATIC_LIBS_GRAAL_TARGETS)
530
+ static-jdk-bundles: $(STATIC_JDK_TARGETS)
513
531
jcov-bundles: $(JCOV_TARGETS)
514
532
515
533
.PHONY: product-bundles test-bundles \
516
534
docs-jdk-bundles docs-javase-bundles docs-reference-bundles \
517
- static-libs-bundles static-libs-graal-bundles jcov-bundles
535
+ static-libs-bundles static-libs-graal-bundles static-jdk-bundles jcov-bundles
518
536
519
537
################################################################################
520
538
0 commit comments