From 4d40df1bffec25621eecee14019873e8b66752e0 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Sun, 5 Jun 2016 23:05:10 +0000 Subject: [PATCH] Add a MINIMUM_SUPPORTED_OSREL and bump it to 900044. This is actually a revision in the stable/9 branch released as 9.1. The localedef build requires xlocale from this period. Sponsored by: EMC / Isilon Storage Division --- Makefile.inc1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 90c24ffbe300..5ff5e1dac500 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -431,6 +431,9 @@ PACKAGE= kernel # BOOTSTRAPPING?= 0 +# Keep these in sync +MINIMUM_SUPPORTED_OSREL?= 900044 +MINIMUM_SUPPORTED_REL?= 9.1 # Common environment for world related stages CROSSENV+= MAKEOBJDIRPREFIX=${OBJTREE} \ @@ -1512,8 +1515,8 @@ _elftoolchain_libs= lib/libelf lib/libdwarf .endif legacy: .PHONY -.if ${BOOTSTRAPPING} < 800107 && ${BOOTSTRAPPING} != 0 - @echo "ERROR: Source upgrades from versions prior to 8.0 are not supported."; \ +.if ${BOOTSTRAPPING} < ${MINIMUM_SUPPORTED_OSREL} && ${BOOTSTRAPPING} != 0 + @echo "ERROR: Source upgrades from versions prior to ${MINIMUM_SUPPORTED_REL} are not supported."; \ false .endif .for _tool in tools/build ${_elftoolchain_libs}