Hi

The export_debug_jdk target from jdk7u/hotspot/make/Makefile never exports the

Z:\JDK\hsx\jdk7u\hotspot\build\windows\export-windows-i586\debug directories 
into

Z:\JDK\hsx\jdk7u\hotspot\build\windows\jdk-windows-i586

but it updates
Z:\JDK\\hsx\jdk7u\hotspot\build\windows\jdk-windows-i586\debug which is 
useless...

Francis

Here the fixes:
diff --git a/make/Makefile b/make/Makefile
--- a/make/Makefile
+++ b/make/Makefile
@@ -242,12 +242,11 @@
       generic_export
 export_fastdebug_jdk::
     $(MAKE) BUILD_FLAVOR=$(@:export_%_jdk=%) \
-      VM_SUBDIR=$(@:export_%_jdk=%)  \
-      ALT_EXPORT_PATH=$(JDK_IMAGE_DIR)/$(@:export_%_jdk=%) \
+      VM_SUBDIR=$(@:export_%_jdk=%) ALT_EXPORT_PATH=$(JDK_IMAGE_DIR) \
       generic_export
 export_debug_jdk::
-    $(MAKE) BUILD_FLAVOR=$(@:export_%_jdk=%) VM_SUBDIR=${VM_DEBUG} \
-      ALT_EXPORT_PATH=$(JDK_IMAGE_DIR)/$(@:export_%_jdk=%) \
+    $(MAKE) BUILD_FLAVOR=$(@:export_%_jdk=%) \
+      VM_SUBDIR=${VM_DEBUG} ALT_EXPORT_PATH=$(JDK_IMAGE_DIR) \
       generic_export

Reply via email to