[Ocfs-tools-commits] manish commits r70 - in trunk: . ocfs2/format

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Jun 16 20:29:06 CDT 2004


Author: manish
Date: 2004-06-16 19:29:03 -0500 (Wed, 16 Jun 2004)
New Revision: 70

Modified:
   trunk/configure.in
   trunk/ocfs2/format/Makefile
   trunk/toolsarch.guess
Log:
s390x support


Modified: trunk/configure.in
===================================================================
--- trunk/configure.in	2004-06-17 00:01:35 UTC (rev 69)
+++ trunk/configure.in	2004-06-17 00:29:03 UTC (rev 70)
@@ -51,6 +51,9 @@
   i386|i486|i586|i686|i786|k6|k7)
     OCFS_PROCESSOR="i686"
     ;;
+  s390x)
+    OCFS_PROCESSOR="s390x"
+    ;;
   *)
     AC_MSG_ERROR([not configured for "$host_cpu"])
     ;;
@@ -60,7 +63,7 @@
 
 if test -z "$TOOLSARCH"; then
     case "$host_cpu" in
-    x86_64|i386|ppc|ia64)
+    x86_64|i386|ppc|ia64|s390x)
         TOOLSARCH="$host_cpu"
         ;;
     i486|i586|i686|i786|k6|k7)

Modified: trunk/ocfs2/format/Makefile
===================================================================
--- trunk/ocfs2/format/Makefile	2004-06-17 00:01:35 UTC (rev 69)
+++ trunk/ocfs2/format/Makefile	2004-06-17 00:29:03 UTC (rev 70)
@@ -26,6 +26,9 @@
 ifeq ($(OCFS_PROCESSOR),i686)
   DEFINES += -D__ILP32__
 endif
+ifeq ($(OCFS_PROCESSOR),s390x)
+  DEFINES += -D__LP64__
+endif
 
 CFLAGS += $(OPTIMIZE)
 

Modified: trunk/toolsarch.guess
===================================================================
--- trunk/toolsarch.guess	2004-06-17 00:01:35 UTC (rev 69)
+++ trunk/toolsarch.guess	2004-06-17 00:29:03 UTC (rev 70)
@@ -7,7 +7,7 @@
 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 
 case "$host_cpu" in
-  x86_64|i386|ppc|ia64)
+  x86_64|i386|ppc|ia64|s390x)
     echo "$host_cpu"
     ;;
   i486|i586|i686|i786|k6|k7)



More information about the Ocfs-tools-commits mailing list