changeset 3456:b07fb23061f7

Merge from main OpenJDK repository
author Greg Lewis <glewis@eyesbeyond.com>
date Sat, 18 Nov 2017 08:32:29 -0800
parents 97dfb267d417 78793d528e96
children d0ff70f3c714
files
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/Makefile	Wed Sep 06 00:37:25 2017 -0700
+++ b/test/Makefile	Sat Nov 18 08:32:29 2017 -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	Wed Sep 06 00:37:25 2017 -0700
+++ b/test/tools/javah/ReadOldClass.sh	Sat Nov 18 08:32:29 2017 -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="/"
     ;;