jdk/make/common/Release.gmk
changeset 3111 fefdeafb7ab9
parent 2763 172d44ffd1e5
child 3117 3feb81c41231
--- a/jdk/make/common/Release.gmk	Thu May 14 10:58:07 2009 -0700
+++ b/jdk/make/common/Release.gmk	Fri Jun 12 14:56:32 2009 -0400
@@ -797,6 +797,11 @@
 	$(CD) $(JRE_IMAGE_DIR)/lib && \
             $(RM) java.$(LIB_SUFFIX) jvm.$(LIB_SUFFIX) \
                   hpi.$(LIB_SUFFIX) awt.$(LIB_SUFFIX) jawt.$(LIB_SUFFIX)
+  ifeq ($(ARCH_DATA_MODEL), 32)
+	@# The Java Kernel JRE image ships with a special VM.  It is not included
+	@# in the full JRE image, so remove it.  Also, is it only for 32-bit windows.
+	$(CD) $(JRE_IMAGE_DIR)/bin && $(RM) -r kernel
+  endif
 endif # Windows
 ifneq ($(PLATFORM), windows)
 	$(call copy-man-pages,$(JRE_IMAGE_DIR),$(JRE_MAN_PAGES))