diff options
author | gonzo <gonzo@FreeBSD.org> | 2008-04-28 14:54:17 +0000 |
---|---|---|
committer | gonzo <gonzo@FreeBSD.org> | 2008-04-28 14:54:17 +0000 |
commit | 0503795ac0743a8c4dbe84d7f2f7d85459894da8 (patch) | |
tree | caf1ef3784e8a0452c4bee6068f6341d6b5f4264 /share | |
parent | 74319df7437af6754b957e4501f50035273893de (diff) | |
download | FreeBSD-src-0503795ac0743a8c4dbe84d7f2f7d85459894da8.zip FreeBSD-src-0503795ac0743a8c4dbe84d7f2f7d85459894da8.tar.gz |
Handle endianness for mips
Approved by: cognet (mentor)
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.endian.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/share/mk/bsd.endian.mk b/share/mk/bsd.endian.mk index 56aa0cf..c2b141f 100644 --- a/share/mk/bsd.endian.mk +++ b/share/mk/bsd.endian.mk @@ -3,10 +3,12 @@ .if ${MACHINE_ARCH} == "amd64" || \ ${MACHINE_ARCH} == "i386" || \ ${MACHINE_ARCH} == "ia64" || \ - (${MACHINE_ARCH} == "arm" && !defined(TARGET_BIG_ENDIAN)) + (${MACHINE_ARCH} == "arm" && !defined(TARGET_BIG_ENDIAN)) || \ + (${MACHINE_ARCH} == "mips" && !defined(TARGET_BIG_ENDIAN)) TARGET_ENDIANNESS= 1234 .elif ${MACHINE_ARCH} == "powerpc" || \ ${MACHINE_ARCH} == "sparc64" || \ - ${MACHINE_ARCH} == "arm" + ${MACHINE_ARCH} == "arm" || \ + ${MACHINE_ARCH} == "mips" TARGET_ENDIANNESS= 4321 .endif |