changeset 3560:d0ff70f3c714

Merge from main OpenJDK repository
author Greg Lewis <glewis@eyesbeyond.com>
date Thu, 25 Jan 2018 22:36:17 -0800
parents 902865570583 b07fb23061f7
children 2ea81dac9c76
files
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/Makefile	Tue Dec 19 15:34:11 2017 -0800
+++ b/test/Makefile	Thu Jan 25 22:36:17 2018 -0800
@@ -34,6 +34,14 @@
     ARCH=i586
   endif
 endif
+ifneq ($(findstring BSD, $(OSNAME)), )
+  PLATFORM = bsd
+  JT_PLATFORM = linux
+  ARCH = $(shell uname -p)
+  ifeq ($(ARCH), i386)
+    ARCH=i586
+  endif
+endif
 ifeq ($(OSNAME), Darwin)
   PLATFORM = bsd
   ARCH = $(shell uname -m)
--- a/test/tools/javah/ReadOldClass.sh	Tue Dec 19 15:34:11 2017 -0800
+++ b/test/tools/javah/ReadOldClass.sh	Thu Jan 25 22:36:17 2018 -0800
@@ -43,7 +43,7 @@
 # set platform-dependent variables
 OS=`uname -s`
 case "$OS" in
-  SunOS | Linux | Darwin | CYGWIN* )
+  SunOS | Linux | *BSD | Darwin | CYGWIN* )
     PS=":"
     FS="/"
     ;;