config: detect linux-mips* targets.
authorAndy Polyakov <appro@openssl.org>
Wed, 19 Sep 2012 20:58:07 +0000 (20:58 +0000)
committerAndy Polyakov <appro@openssl.org>
Wed, 19 Sep 2012 20:58:07 +0000 (20:58 +0000)
CHANGES
config

diff --git a/CHANGES b/CHANGES
index 55be362..be586a2 100644 (file)
--- a/CHANGES
+++ b/CHANGES
 
  Changes between 1.0.1 and 1.0.2 [xx XXX xxxx]
 
+  *) MIPS assembly pack updates: support for MIPS32r2 and SmartMIPS ASE,
+     platform support for Linux and Android.
+     [Andy Polyakov]
+
   *) Call OCSP Stapling callback after ciphersuite has been chosen, so
      the right response is stapled. Also change current certificate to
      the certificate actually sent.
diff --git a/config b/config
index 851a161..bebaef2 100755 (executable)
--- a/config
+++ b/config
@@ -596,6 +596,16 @@ case "$GUESSOS" in
        OUT="linux-ppc"
        ;;
   ppc-*-linux2) OUT="linux-ppc" ;;
+  mips64*-*-linux2)
+       echo "WARNING! If you wish to build 64-bit library, then you have to"
+       echo "         invoke './Configure linux64-mips64' *manually*."
+       if [ "$TEST" = "false" -a -t 1 ]; then
+           echo "         You have about 5 seconds to press Ctrl-C to abort."
+           (trap "stty `stty -g`" 2 0; stty -icanon min 0 time 50; read waste) <&1
+       fi
+       OUT="linux-mips64"
+       ;;
+  mips*-*-linux2) OUT="linux-mips32" ;;
   ppc60x-*-vxworks*) OUT="vxworks-ppc60x" ;;
   ppcgen-*-vxworks*) OUT="vxworks-ppcgen" ;;
   pentium-*-vxworks*) OUT="vxworks-pentium" ;;