git: 42e51b158a94 - main - Stop trying to strip 'eb' suffixes from ARM MACHINE_ARCH.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Tue, 25 Jan 2022 19:38:58 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=42e51b158a945ffc216fc9c73f1f0cf6f47e3795

commit 42e51b158a945ffc216fc9c73f1f0cf6f47e3795
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-01-25 19:37:29 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-01-25 19:37:29 +0000

    Stop trying to strip 'eb' suffixes from ARM MACHINE_ARCH.
    
    armeb is no longer a supported MACHINE_ARCH.
    
    Reviewed by:    imp, emaste
    Sponsored by:   The University of Cambridge, Google Inc.
    Differential Revision:  https://reviews.freebsd.org/D34019
---
 share/mk/sys.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/mk/sys.mk b/share/mk/sys.mk
index 3426f8c0729a..cddbb0da584c 100644
--- a/share/mk/sys.mk
+++ b/share/mk/sys.mk
@@ -13,7 +13,7 @@ unix		?=	We run FreeBSD, not UNIX.
 # and/or endian.  This is called MACHINE_CPU in NetBSD, but that's used
 # for something different in FreeBSD.
 #
-__TO_CPUARCH=C/arm(v[67])?(eb)?/arm/:C/powerpc(64|64le|spe)/powerpc/:C/riscv64(sf)?/riscv/
+__TO_CPUARCH=C/arm(v[67])?/arm/:C/powerpc(64|64le|spe)/powerpc/:C/riscv64(sf)?/riscv/
 MACHINE_CPUARCH=${MACHINE_ARCH:${__TO_CPUARCH}}
 .endif