--- a/jdk/make/common/Program.gmk Fri May 06 01:55:29 2011 +0100
+++ b/jdk/make/common/Program.gmk Fri May 06 02:27:10 2011 +0100
@@ -55,10 +55,13 @@
program: $(ACTUAL_PROGRAM)
-# reuse the mapfiles in the launcher's directory, the same should
-# be applicable to the tool launchers as well.
-FILES_m = $(BUILDDIR)/java/main/java/mapfile-$(ARCH)
-include $(BUILDDIR)/common/Mapfile-vers.gmk
+# Work-around for missing processor specific mapfiles
+ifndef CROSS_COMPILE_ARCH
+ # reuse the mapfiles in the launcher's directory, the same should
+ # be applicable to the tool launchers as well.
+ FILES_m = $(BUILDDIR)/java/main/java/mapfile-$(ARCH)
+ include $(BUILDDIR)/common/Mapfile-vers.gmk
+endif
include $(JDK_TOPDIR)/make/common/Rules.gmk
--- a/jdk/make/common/shared/Defs-utils.gmk Fri May 06 01:55:29 2011 +0100
+++ b/jdk/make/common/shared/Defs-utils.gmk Fri May 06 02:27:10 2011 +0100
@@ -109,6 +109,8 @@
GDB = $(UTILS_USR_BIN_PATH)gdb
GREP = $(UTILS_COMMAND_PATH)grep
GUNZIP = $(UTILS_COMMAND_PATH)gunzip
+# GZIP is used for solaris. Linux and windows use tar czf
+GZIP = $(UTILS_COMMAND_PATH)gzip
HEAD = $(UTILS_USR_BIN_PATH)head
HG = hg
ID = $(UTILS_COMMAND_PATH)id