mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-23 07:31:31 +00:00
Handle endianness for mips
Approved by: cognet (mentor)
This commit is contained in:
parent
f6a83858fc
commit
04e109f098
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=178633
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user