From a7abf89249773f24e7bac9e77b445946c212cac5 Mon Sep 17 00:00:00 2001 From: Alfred Perlstein Date: Sun, 7 Jul 2013 20:39:11 +0000 Subject: [PATCH] Document tip on how to build all kernels quickly. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index b3015c527ef5..26a37bcadef2 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,12 @@ # targets - Print a list of supported TARGET/TARGET_ARCH pairs # for world and kernel targets. # toolchains - Build a toolchain for all world and kernel targets. +# +# "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=${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