git: 539d322082dc - main - bsd.compat.mk: Remove support for mips64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Jan 2022 15:00:50 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=539d322082dc39ed5e75dc09f444d541d4925ad8 commit 539d322082dc39ed5e75dc09f444d541d4925ad8 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-01-02 01:02:13 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-01-03 15:00:08 +0000 bsd.compat.mk: Remove support for mips64 No longer need to care about mips32 binaries on mips64 for lib32 support. Sponsored by: Netflix --- share/mk/bsd.compat.mk | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/share/mk/bsd.compat.mk b/share/mk/bsd.compat.mk index 6787209dcd25..252049381230 100644 --- a/share/mk/bsd.compat.mk +++ b/share/mk/bsd.compat.mk @@ -58,32 +58,6 @@ LIB32_MACHINE= powerpc LIB32_MACHINE_ARCH= powerpc LIB32WMAKEFLAGS= \ LD="${XLD} -m elf32ppc_fbsd" - -.elif ${COMPAT_ARCH:Mmips64*} != "" -HAS_COMPAT=32 -.if ${COMPAT_COMPILER_TYPE} == gcc -.if empty(COMPAT_CPUTYPE) -LIB32CPUFLAGS= -march=mips3 -.else -LIB32CPUFLAGS= -march=${COMPAT_CPUTYPE} -.endif -.else -.if ${COMPAT_ARCH:Mmips64el*} != "" -LIB32CPUFLAGS= -target mipsel-unknown-freebsd14.0 -.else -LIB32CPUFLAGS= -target mips-unknown-freebsd14.0 -.endif -.endif -LIB32CPUFLAGS+= -mabi=32 -LIB32_MACHINE= mips -LIB32_MACHINE_ARCH:= ${COMPAT_ARCH:S/64//} -.if ${COMPAT_ARCH:Mmips64el*} != "" -_EMULATION= elf32ltsmip_fbsd -.else -_EMULATION= elf32btsmip_fbsd -.endif -LIB32WMAKEFLAGS= LD="${XLD} -m ${_EMULATION}" -LIB32LDFLAGS= -Wl,-m${_EMULATION} .endif LIB32WMAKEFLAGS+= NM="${XNM}"