Deleted Added
full compact
bsd.endian.mk (217123) bsd.endian.mk (233644)
1# $FreeBSD: head/share/mk/bsd.endian.mk 217123 2011-01-07 20:26:33Z imp $
1# $FreeBSD: head/share/mk/bsd.endian.mk 233644 2012-03-29 02:54:35Z jmallett $
2
3.if ${MACHINE_ARCH} == "amd64" || \
4 ${MACHINE_ARCH} == "i386" || \
5 ${MACHINE_ARCH} == "ia64" || \
6 ${MACHINE_ARCH} == "arm" || \
7 ${MACHINE_ARCH:Mmips*el} != ""
8TARGET_ENDIANNESS= 1234
9.elif ${MACHINE_ARCH} == "powerpc" || \
10 ${MACHINE_ARCH} == "powerpc64" || \
11 ${MACHINE_ARCH} == "sparc64" || \
12 ${MACHINE_ARCH} == "armeb" || \
2
3.if ${MACHINE_ARCH} == "amd64" || \
4 ${MACHINE_ARCH} == "i386" || \
5 ${MACHINE_ARCH} == "ia64" || \
6 ${MACHINE_ARCH} == "arm" || \
7 ${MACHINE_ARCH:Mmips*el} != ""
8TARGET_ENDIANNESS= 1234
9.elif ${MACHINE_ARCH} == "powerpc" || \
10 ${MACHINE_ARCH} == "powerpc64" || \
11 ${MACHINE_ARCH} == "sparc64" || \
12 ${MACHINE_ARCH} == "armeb" || \
13 ${MACHINE_ARCH:Mmips*eb} != ""
13 ${MACHINE_ARCH:Mmips*} != ""
14TARGET_ENDIANNESS= 4321
15.endif
14TARGET_ENDIANNESS= 4321
15.endif