git: b94ed3bc5a54 - main - sys.mk: Stop rewriting mips* to get MACHINE_CPUARCH
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Jan 2022 15:00:57 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=b94ed3bc5a54976f27de671df2da38168c8bf52d
commit b94ed3bc5a54976f27de671df2da38168c8bf52d
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-01-02 01:13:23 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-01-03 15:00:09 +0000
sys.mk: Stop rewriting mips* to get MACHINE_CPUARCH
With mips no longer supported, we can GC the substitution from here.
Sponsored by: Netflix
---
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 462002ce7d18..3426f8c0729a 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/mips(n32|64)?(el)?(hf)?/mips/:C/arm(v[67])?(eb)?/arm/:C/powerpc(64|64le|spe)/powerpc/:C/riscv64(sf)?/riscv/
+__TO_CPUARCH=C/arm(v[67])?(eb)?/arm/:C/powerpc(64|64le|spe)/powerpc/:C/riscv64(sf)?/riscv/
MACHINE_CPUARCH=${MACHINE_ARCH:${__TO_CPUARCH}}
.endif