summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.endian.mk
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk/bsd.endian.mk')
-rw-r--r--share/mk/bsd.endian.mk7
1 files changed, 2 insertions, 5 deletions
diff --git a/share/mk/bsd.endian.mk b/share/mk/bsd.endian.mk
index 565d1aa..c82c37f 100644
--- a/share/mk/bsd.endian.mk
+++ b/share/mk/bsd.endian.mk
@@ -2,16 +2,13 @@
.if ${MACHINE_ARCH} == "amd64" || \
${MACHINE_ARCH} == "i386" || \
- ${MACHINE_ARCH} == "arm" || \
- ${MACHINE_ARCH} == "armv6" || \
- ${MACHINE_ARCH} == "armv6hf" || \
+ (${MACHINE} == "arm" && ${MACHINE_ARCH:Marm*eb*} == "") || \
${MACHINE_ARCH:Mmips*el} != ""
TARGET_ENDIANNESS= 1234
.elif ${MACHINE_ARCH} == "powerpc" || \
${MACHINE_ARCH} == "powerpc64" || \
${MACHINE_ARCH} == "sparc64" || \
- ${MACHINE_ARCH} == "armeb" || \
- ${MACHINE_ARCH} == "armv6eb" || \
+ (${MACHINE} == "arm" && ${MACHINE_ARCH:Marm*eb*} != "") || \
${MACHINE_ARCH:Mmips*} != ""
TARGET_ENDIANNESS= 4321
.endif
OpenPOWER on IntegriCloud