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
This commit is contained in:
Warner Losh 2021-11-18 21:21:55 -07:00
parent a721ac948e
commit 27a04f5964

View File

@ -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 "--------------------------------------------------------------"
#