aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2021-11-19 04:21:55 +0000
committerWarner Losh <imp@FreeBSD.org>2021-11-22 00:45:28 +0000
commit8d5fd8e04f3ce014b8f83bdebdb27dddccea3dda (patch)
tree879dfa8bc0e606cd8c744deadfec42f6525019ab /Makefile.inc1
parent532cfa69cf13051a848a2d224d0bf7de04a5c6ee (diff)
downloadsrc-8d5fd8e04f3ce014b8f83bdebdb27dddccea3dda.tar.gz
src-8d5fd8e04f3ce014b8f83bdebdb27dddccea3dda.zip
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)
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc18
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 4fa955779c1f..4439b9ef67d4 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1182,6 +1182,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
@@ -1191,6 +1195,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 "--------------------------------------------------------------"
#