[7u] diff fixes for export_debug_jdk in jdk/hotspot/make/Makefile

Francis ANDRE francis.andre.kampbell at orange.fr
Sat Dec 21 09:07:20 PST 2013


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



More information about the hotspot-runtime-dev mailing list