summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2013-07-07 20:39:11 +0000
committeralfred <alfred@FreeBSD.org>2013-07-07 20:39:11 +0000
commit0d897a2a05bba8d2b70d12f780876b2b94b8c392 (patch)
tree489843b446b5c2d06cbef9f9a10ade8e8b19bcf9 /Makefile
parent425027ec4be8e60a64168ddd797ef396445e6c26 (diff)
downloadFreeBSD-src-0d897a2a05bba8d2b70d12f780876b2b94b8c392.zip
FreeBSD-src-0d897a2a05bba8d2b70d12f780876b2b94b8c392.tar.gz
Document tip on how to build all kernels quickly.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b3015c5..26a37bc 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
OpenPOWER on IntegriCloud