summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-12-02 13:41:25 (GMT)
committerBrad King <brad.king@kitware.com>2015-12-02 13:41:25 (GMT)
commit7cb630809db87dcce4e4d10596a5bb3d878662e2 (patch)
treeaecf82374bb23cdd7b0aacf3906c9daf18cf4659 /Source
parent535760ccb954dda78cc5c23c9e75245e7529c481 (diff)
parentf2ca704cbb0722da8f43b1f99b07e6fac32dc0f6 (diff)
downloadCMake-7cb630809db87dcce4e4d10596a5bb3d878662e2.zip
CMake-7cb630809db87dcce4e4d10596a5bb3d878662e2.tar.gz
CMake-7cb630809db87dcce4e4d10596a5bb3d878662e2.tar.bz2
Merge branch 'backport-NIOS2-CPU' into release
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 884d71a..66ffbb1 100644
--- a/Source/kwsys/CPU.h.in
+++ b/Source/kwsys/CPU.h.in
@@ -88,6 +88,10 @@
#elif defined(__mips) || defined(__mips__) || defined(__MIPS__)
# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG
+/* NIOS2 */
+#elif defined(__NIOS2__) || defined(__NIOS2) || defined(__nios2__)
+# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_LITTLE
+
/* OpenRISC 1000 */
#elif defined(__or1k__)
# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG