Module Name: src
Committed By: jakllsch
Date: Wed Sep 2 15:17:19 UTC 2020
Modified Files:
src/share/mk: bsd.endian.mk
Log Message:
Teach bsd.endian.mk about aarch64eb
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/share/mk/bsd.endian.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/mk/bsd.endian.mk
diff -u src/share/mk/bsd.endian.mk:1.22 src/share/mk/bsd.endian.mk:1.23
--- src/share/mk/bsd.endian.mk:1.22 Fri Sep 19 17:45:42 2014
+++ src/share/mk/bsd.endian.mk Wed Sep 2 15:17:19 2020
@@ -1,11 +1,11 @@
-# $NetBSD: bsd.endian.mk,v 1.22 2014/09/19 17:45:42 matt Exp $
+# $NetBSD: bsd.endian.mk,v 1.23 2020/09/02 15:17:19 jakllsch Exp $
.if !defined(_BSD_ENDIAN_MK_)
_BSD_ENDIAN_MK_=1
.include <bsd.init.mk>
-.if ${MACHINE_ARCH} == "aarch64" || \
+.if (!empty(MACHINE_ARCH:Maarch64*) && empty(MACHINE_ARCH:Maarch64eb)) || \
${MACHINE_ARCH} == "alpha" || \
${MACHINE_ARCH} == "arm" || \
(!empty(MACHINE_ARCH:Mearm*) && empty(MACHINE_ARCH:Mearm*eb)) || \