summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorChristian Svensson <debian@cmd.nu>2014-05-22 23:05:56 (GMT)
committerBrad King <brad.king@kitware.com>2014-08-07 20:26:01 (GMT)
commitef120655fcaedca08f8782455551efba488ef507 (patch)
treef7d6c14cde4fad040486e7f0d14d4c50a2e19be9 /Source
parentd061248791db8cd3c6030c4b29ce780cb8bc84da (diff)
downloadCMake-ef120655fcaedca08f8782455551efba488ef507.zip
CMake-ef120655fcaedca08f8782455551efba488ef507.tar.gz
CMake-ef120655fcaedca08f8782455551efba488ef507.tar.bz2
KWSys CPU: Add support for OpenRISC 1000
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/CPU.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/kwsys/CPU.h.in b/Source/kwsys/CPU.h.in
index 2e1a584..626914b 100644
--- a/Source/kwsys/CPU.h.in
+++ b/Source/kwsys/CPU.h.in
@@ -80,6 +80,10 @@
#elif defined(__mips) || defined(__mips__) || defined(__MIPS__)
# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG
+/* OpenRISC 1000 */
+#elif defined(__or1k__)
+# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG
+
/* RS/6000 */
#elif defined(__THW_RS600) || defined(_IBMR2) || defined(_POWER)
# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG