Hi,
Plamen has contributed a patch (attached) through the Debian bug tracker
Can somebody please review and commit if this is acceptable?
Regards,
Daniel
-------- Original Message --------
Subject: Bug#750998: ck mips* patch (retry)
Resent-Date: Mon, 09 Jun 2014 13:36:05 +0000
Resent-From: Plamen Aleksandrov <[email protected]>
Resent-To: [email protected]
Resent-CC: Daniel Pocock <[email protected]>
Date: Mon, 9 Jun 2014 16:32:21 +0300
From: Plamen Aleksandrov <[email protected]>
Reply-To: Plamen Aleksandrov <[email protected]>, [email protected]
To: [email protected]
CC: [email protected]
Added configure and build support for mips* architectures.
This time with the patch attached :)
diff -Nru ck-0.4.2/build/ck.build.mips ck-0.4.2.mine/build/ck.build.mips
--- ck-0.4.2/build/ck.build.mips 1970-01-01 00:00:00.000000000 +0000
+++ ck-0.4.2.mine/build/ck.build.mips 2014-06-06 13:25:34.627333492 +0000
@@ -0,0 +1 @@
+CFLAGS+=-D__mips__
diff -Nru ck-0.4.2/configure ck-0.4.2.mine/configure
--- ck-0.4.2/configure 2014-04-22 17:36:30.000000000 +0000
+++ ck-0.4.2.mine/configure 2014-06-06 13:24:43.391406739 +0000
@@ -392,6 +392,18 @@
;;
esac
;;
+ "mips"|"mipsel")
+ RTM_ENABLE="CK_MD_RTM_DISABLE"
+ PLATFORM=mips
+ ENVIRONMENT=32
+ MM="${MM:-"CK_MD_TSO"}"
+ ;;
+ "mips64"|"mips64el")
+ RTM_ENABLE="CK_MD_RTM_DISABLE"
+ PLATFORM=mips
+ ENVIRONMENT=64
+ MM="${MM:-"CK_MD_TSO"}"
+ ;;
"amd64"|"x86_64")
PLATFORM=x86_64
ENVIRONMENT=64