git: 46f1cb6cd485 - stable/12 - Add warning that MIPS is being removed in FreeBSD 14.0

From: Warner Losh <imp_at_FreeBSD.org>
Date: Mon, 22 Nov 2021 00:46:29 UTC
The branch stable/12 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=46f1cb6cd485ab3566596609fedf20ff22001070

commit 46f1cb6cd485ab3566596609fedf20ff22001070
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-11-19 04:21:55 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-11-22 00:43:30 +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
    
    (cherry picked from commit 27a04f59646bea70e8461095eb835e92066702ef)
---
 Makefile.inc1 | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Makefile.inc1 b/Makefile.inc1
index c5b903e8ed90..1b1f8b162d92 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1186,12 +1186,20 @@ buildworld: buildworld_prologue ${WMAKE_TGTS} buildworld_epilogue .PHONY
 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
 	@echo
 	@echo "--------------------------------------------------------------"
 	@echo ">>> World build completed on `LC_ALL=C date`"
+.if ${TARGET:Mmips}
+	@echo "--------------------------------------------------------------"
+	@echo "WARNING: MIPS architecture is gone in FreeBSD 14.0"
+.endif
 	@echo "--------------------------------------------------------------"
 
 #