changeset 3722:f92e6bed3fc0

Merge from main OpenJDK repository
author Greg Lewis <glewis@eyesbeyond.com>
date Wed, 21 Nov 2018 19:36:38 -0800
parents 4bbe353fcc36 6b66df6184d4
children 0c2590fa85af
files
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/Makefile	Sat Oct 06 05:12:28 2018 -0700
+++ b/test/Makefile	Wed Nov 21 19:36:38 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	Sat Oct 06 05:12:28 2018 -0700
+++ b/test/tools/javah/ReadOldClass.sh	Wed Nov 21 19:36:38 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="/"
     ;;