aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2019-05-24 15:45:43 +0000
committerMark Johnston <markj@FreeBSD.org>2019-05-24 15:45:43 +0000
commit707b2d65864b9cd79ea674008554ce81bebc5626 (patch)
tree676bf2b16ca4e3783e98a5c8c1f7d647f75cac92
parentb7ebd3eff29329f07764fe96caa3b4a747134561 (diff)
downloadsrc-707b2d65864b9cd79ea674008554ce81bebc5626.tar.gz
src-707b2d65864b9cd79ea674008554ce81bebc5626.zip
Modernize the MAKE_JUST_KERNELS hint in the top-level makefile.
It doesn't make sense to limit to -j12 anymore, build scalability is better than it used to be. Fold the hint into the description of the universe target. Reviewed by: imp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D20342
Notes
Notes: svn path=/head/; revision=348241
-rw-r--r--Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 054797b27bd7..7beb8661df24 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,8 @@
# The user-driven targets are:
#
# universe - *Really* build *everything* (buildworld and
-# all kernels on all architectures).
+# all kernels on all architectures). Define the
+# MAKE_JUST_KERNELS variable to only build kernels.
# tinderbox - Same as universe, but presents a list of failed build
# targets and exits with an error if there were any.
# buildworld - Rebuild *everything*, including glue to help do
@@ -45,12 +46,6 @@
# native-xtools-install
# - Install the files to the given DESTDIR/NXTP where
# NXTP defaults to /nxb-bin.
-#
-# "quick" way to test all kernel builds:
-# _jflag=`sysctl -n hw.ncpu`
-# _jflag=$(($_jflag * 2))
-# [ $_jflag -gt 12 ] && _jflag=12
-# make universe -DMAKE_JUST_KERNELS JFLAG=-j${_jflag}
#
# This makefile is simple by design. The FreeBSD make automatically reads
# the /usr/share/mk/sys.mk unless the -m argument is specified on the