summaryrefslogtreecommitdiffstats
path: root/CPU.h.in
diff options
context:
space:
mode:
authorKWSys Robot <kwrobot@kitware.com>2015-12-01 13:44:34 (GMT)
committerBrad King <brad.king@kitware.com>2015-12-01 13:46:40 (GMT)
commite25f294a0e0aa03da4516d0baa488ad02cece089 (patch)
treeffd25e9cac0515f81b0df38f328c9ab5451ef352 /CPU.h.in
parent9c6a7203fb0c6034771011a8ac58ae447726b919 (diff)
downloadCMake-e25f294a0e0aa03da4516d0baa488ad02cece089.zip
CMake-e25f294a0e0aa03da4516d0baa488ad02cece089.tar.gz
CMake-e25f294a0e0aa03da4516d0baa488ad02cece089.tar.bz2
KWSys 2015-12-01 (9596e98d)
Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ 9596e98d | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' a7e5360f..9596e98d Dmitry Marakasov (1): b86a2a3e Process: Fix off-by-one when adding two times Marek Vasut (1): ddfa8019 CPU: Add NIOS2 support Rolf Eike Beer (2): 0adafb51 SystemTools: use FindProgram() overload that checks for directory 9596e98d SystemTools: move some code around that is used only on Windows-like platforms
Diffstat (limited to 'CPU.h.in')
-rw-r--r--CPU.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/CPU.h.in b/CPU.h.in
index 884d71a..66ffbb1 100644
--- a/CPU.h.in
+++ b/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