git: 27a04f59646b - main - Add warning that MIPS is being removed in FreeBSD 14.0

From: Warner Losh <imp_at_FreeBSD.org>
Date: Fri, 19 Nov 2021 04:24:36 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=27a04f59646bea70e8461095eb835e92066702ef

commit 27a04f59646bea70e8461095eb835e92066702ef
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-11-19 04:21:55 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-11-19 04:22:56 +0000

    Add warning that MIPS is being removed in FreeBSD 14.0
    
    MFC After:              3 days
    Sponsored by:           Netflix
    Reviewed by:    brooks, jhb
    Differential Revision:  https://reviews.freebsd.org/D32853
---
 Makefile.inc1 | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Makefile.inc1 b/Makefile.inc1
index 6d6991a395c2..d8f50cf77d4b 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1188,6 +1188,10 @@ _ncpu_cmd=sysctl -n hw.ncpu 2>/dev/null || nproc 2>/dev/null || echo unknown
 buildworld_prologue: .PHONY
 	@echo "--------------------------------------------------------------"
 	@echo ">>> World build started on `LC_ALL=C date`"
+.if ${TARGET:Mmips}
+	@echo "--------------------------------------------------------------"
+	@echo "WARNING: MIPS architecture is gone in FreeBSD 14.0"
+.endif
 	@echo "--------------------------------------------------------------"
 
 buildworld_epilogue: .PHONY
@@ -1197,6 +1201,10 @@ buildworld_epilogue: .PHONY
 	@seconds=$$(($$(date '+%s') - ${_BUILDWORLD_START})); \
 	  echo -n ">>> World built in $$seconds seconds, "; \
 	  echo "ncpu: $$(${_ncpu_cmd})${.MAKE.JOBS:S/^/, make -j/}"
+.if ${TARGET:Mmips}
+	@echo "--------------------------------------------------------------"
+	@echo "WARNING: MIPS architecture is gone in FreeBSD 14.0"
+.endif
 	@echo "--------------------------------------------------------------"
 
 #