summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-05-14 14:27:44 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-05-14 14:27:44 (GMT)
commit36c275d857d1764f37df450361ed816d24091300 (patch)
treeb80bbda2df70f2f303a2c5c335e63049607ac474 /Source
parenta86ddbe56e1659ca1385514e1ffe1a9389d9ca62 (diff)
parent576ef8c56ef68b94340f95854a8211fb6f3562f1 (diff)
downloadCMake-36c275d857d1764f37df450361ed816d24091300.zip
CMake-36c275d857d1764f37df450361ed816d24091300.tar.gz
CMake-36c275d857d1764f37df450361ed816d24091300.tar.bz2
Merge topic 'update-kwsys'
576ef8c5 KWSys: Tell Git not to export .gitattributes c9709dff Merge branch 'upstream-kwsys' into update-kwsys 3b815ed2 KWSys 2015-05-12 (b1d560a0)
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/.gitattributes4
-rw-r--r--Source/kwsys/CPU.h.in10
2 files changed, 9 insertions, 5 deletions
diff --git a/Source/kwsys/.gitattributes b/Source/kwsys/.gitattributes
index 248786e..a9c4e77 100644
--- a/Source/kwsys/.gitattributes
+++ b/Source/kwsys/.gitattributes
@@ -1,8 +1,4 @@
.git* export-ignore
-.gitattributes -export-ignore
-
-/GitSetup export-ignore
-/SetupForDevelopment.sh export-ignore eol=lf
/CONTRIBUTING.rst conflict-marker-size=78
diff --git a/Source/kwsys/CPU.h.in b/Source/kwsys/CPU.h.in
index 626914b..884d71a 100644
--- a/Source/kwsys/CPU.h.in
+++ b/Source/kwsys/CPU.h.in
@@ -76,7 +76,15 @@
#elif defined(__m68k__) || defined(M68000)
# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG
-/* MIPS */
+/* MIPSel (MIPS little endian) */
+#elif defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL)
+# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_LITTLE
+
+/* MIPSeb (MIPS big endian) */
+#elif defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB)
+# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG
+
+/* MIPS (fallback, big endian) */
#elif defined(__mips) || defined(__mips__) || defined(__MIPS__)
# define @KWSYS_NAMESPACE@_CPU_ENDIAN_ID @KWSYS_NAMESPACE@_CPU_ENDIAN_ID_BIG