bsd.endian.mk (755259e205ab6516efac173657cf20d96133b546) bsd.endian.mk (2b46c64c9c1bf1cb194e0f2b7c478f61a0e10cd9)
1# $FreeBSD$
2
1# $FreeBSD$
2
3.if ${MACHINE_ARCH} == "alpha" || \
4 ${MACHINE_ARCH} == "amd64" || \
3.if ${MACHINE_ARCH} == "amd64" || \
5 ${MACHINE_ARCH} == "i386" || \
6 ${MACHINE_ARCH} == "ia64" || \
7 (${MACHINE_ARCH} == "arm" && !defined(ARM_BIG_ENDIAN))
8TARGET_ENDIANNESS= 1234
9.elif ${MACHINE_ARCH} == "powerpc" || \
10 ${MACHINE_ARCH} == "sparc64" || \
11 ${MACHINE_ARCH} == "arm"
12TARGET_ENDIANNESS= 4321
13.endif
4 ${MACHINE_ARCH} == "i386" || \
5 ${MACHINE_ARCH} == "ia64" || \
6 (${MACHINE_ARCH} == "arm" && !defined(ARM_BIG_ENDIAN))
7TARGET_ENDIANNESS= 1234
8.elif ${MACHINE_ARCH} == "powerpc" || \
9 ${MACHINE_ARCH} == "sparc64" || \
10 ${MACHINE_ARCH} == "arm"
11TARGET_ENDIANNESS= 4321
12.endif