Sun Jun 11 10:43:51 2023 UTC ()
more NBUILDJOBS deprecation

The NBUILDJOBS option was deprecated in 2002;
there's no need to keep warning about it,
remove from params / show-params,
and only document as obsolete.


(lukem)
diff -r1.152 -r1.153 src/BUILDING
diff -r1.336 -r1.337 src/Makefile
diff -r1.141 -r1.142 src/doc/BUILDING.mdoc
diff -r1.22 -r1.23 src/etc/Makefile.params

cvs diff -r1.152 -r1.153 src/BUILDING (expand / switch to context diff)
--- src/BUILDING 2023/06/05 22:36:17 1.152
+++ src/BUILDING 2023/06/11 10:43:51 1.153
@@ -676,11 +676,6 @@
                      If using build.sh, this may be set by giving the -u
                      option.
 
-     NBUILDJOBS      Now obsolete.  Use the make(1) option -j, instead.  See
-                     below.
-
-                     Default: Unset.
-
      NOCLEANDIR      If set, avoids the "make cleandir" phase of a full build.
                      This has the effect of allowing only changed files in a
                      source tree to be recompiled.  This can speed up builds
@@ -1293,7 +1288,7 @@
           the release build.
 
 OBSOLETE VARIABLES
-     NBUILDJOBS  Use the make(1) option -j instead.
+     NBUILDJOBS  Use the build.sh and make(1) option -j instead.
 
      USE_NEW_TOOLCHAIN
                  The new toolchain is now the default.  To disable, use
@@ -1316,4 +1311,4 @@
      in object directories.  Instead, one may have to manually remove the
      files.  Consult the UPDATING file for notices concerning this.
 
-NetBSD                           June 5, 2023                           NetBSD
+NetBSD                           June 10, 2023                          NetBSD

cvs diff -r1.336 -r1.337 src/Makefile (expand / switch to context diff)
--- src/Makefile 2023/06/02 20:48:09 1.336
+++ src/Makefile 2023/06/11 10:43:51 1.337
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.336 2023/06/02 20:48:09 lukem Exp $
+#	$NetBSD: Makefile,v 1.337 2023/06/11 10:43:51 lukem Exp $
 
 #
 # This is the top-level makefile for building NetBSD. For an outline of
@@ -445,9 +445,6 @@
 	@echo '*** May result in a failed build or corrupt binaries!'
 .elif defined(EXTERNAL_TOOLCHAIN)
 	@echo '*** Using external toolchain rooted at ${EXTERNAL_TOOLCHAIN}.'
-.endif
-.if defined(NBUILDJOBS)
-	@echo '*** WARNING: NBUILDJOBS is obsolete; use -j directly instead!'
 .endif
 
 # Delete or sanitise a leftover METALOG from a previous build.

cvs diff -r1.141 -r1.142 src/doc/BUILDING.mdoc (expand / switch to context diff)
--- src/doc/BUILDING.mdoc 2023/06/05 22:36:17 1.141
+++ src/doc/BUILDING.mdoc 2023/06/11 10:43:51 1.142
@@ -1,4 +1,4 @@
-.\"	$NetBSD: BUILDING.mdoc,v 1.141 2023/06/05 22:36:17 lukem Exp $
+.\"	$NetBSD: BUILDING.mdoc,v 1.142 2023/06/11 10:43:51 lukem Exp $
 .\"
 .\" Copyright (c) 2001-2023 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -33,7 +33,7 @@
 .\" Toolchain prefix for commands
 .ds toolprefix nb
 .
-.Dd June 5, 2023
+.Dd June 10, 2023
 .Dt BUILDING 8
 .Os NetBSD
 .\" turn off hyphenation
@@ -1169,16 +1169,6 @@
 .Fl u
 option.
 .
-.It Sy NBUILDJOBS
-Now obsolete.
-Use the
-.Xr make 1
-option
-.Fl j ,
-instead.
-See below.
-.DFLTu
-.
 .It Sy NOCLEANDIR
 If set, avoids the
 .Dq make cleandir
@@ -2432,6 +2422,8 @@
 .
 .It Sy NBUILDJOBS
 Use the
+.Nm build.sh
+and
 .Xr make 1
 option
 .Fl j

cvs diff -r1.22 -r1.23 src/etc/Makefile.params (expand / switch to context diff)
--- src/etc/Makefile.params 2021/02/14 18:45:44 1.22
+++ src/etc/Makefile.params 2023/06/11 10:43:51 1.23
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.params,v 1.22 2021/02/14 18:45:44 pgoyette Exp $
+#	$NetBSD: Makefile.params,v 1.23 2023/06/11 10:43:51 lukem Exp $
 #
 # Makefile fragment for printing build parameters.
 #
@@ -50,7 +50,7 @@
 RELEASEVARS+= 	BSDOBJDIR BSDSRCDIR BUILDID BUILDINFO BUILDSEED \
 		DESTDIR KERNARCHDIR KERNCONFDIR KERNOBJDIR KERNSRCDIR MAKE \
 		KERNEL_DIR MAKECONF MAKEFLAGS MAKEOBJDIR MAKEOBJDIRPREFIX \
-		MAKEVERBOSE NBUILDJOBS NETBSDSRCDIR OBJMACHINE OBJMACHINE_ARCH \
+		MAKEVERBOSE NETBSDSRCDIR OBJMACHINE OBJMACHINE_ARCH \
 		RELEASEDIR RELEASEMACHINEDIR TOOLDIR USR_OBJMACHINE X11SRCDIR
 .endif