2005-02-22 23:29:54 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2006-08-22 08:03:01 +00:00
|
|
|
.if ${MACHINE_ARCH} == "amd64" || \
|
2005-02-22 23:29:54 +00:00
|
|
|
${MACHINE_ARCH} == "i386" || \
|
2005-02-25 00:24:03 +00:00
|
|
|
${MACHINE_ARCH} == "ia64" || \
|
2010-11-10 06:39:49 +00:00
|
|
|
${MACHINE_ARCH} == "arm" || \
|
2012-08-15 03:21:56 +00:00
|
|
|
${MACHINE_ARCH} == "armv6" || \
|
2014-03-23 12:49:25 +00:00
|
|
|
${MACHINE_ARCH} == "armv6hf" || \
|
2011-01-07 20:26:33 +00:00
|
|
|
${MACHINE_ARCH:Mmips*el} != ""
|
2005-02-22 23:29:54 +00:00
|
|
|
TARGET_ENDIANNESS= 1234
|
|
|
|
.elif ${MACHINE_ARCH} == "powerpc" || \
|
2010-07-10 02:32:50 +00:00
|
|
|
${MACHINE_ARCH} == "powerpc64" || \
|
2005-02-25 00:24:03 +00:00
|
|
|
${MACHINE_ARCH} == "sparc64" || \
|
2010-11-10 06:39:49 +00:00
|
|
|
${MACHINE_ARCH} == "armeb" || \
|
2012-08-15 03:21:56 +00:00
|
|
|
${MACHINE_ARCH} == "armv6eb" || \
|
2012-03-29 02:54:35 +00:00
|
|
|
${MACHINE_ARCH:Mmips*} != ""
|
2005-02-22 23:29:54 +00:00
|
|
|
TARGET_ENDIANNESS= 4321
|
|
|
|
.endif
|