diff options
author | alfred <alfred@FreeBSD.org> | 2013-07-07 20:39:11 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2013-07-07 20:39:11 +0000 |
commit | 0d897a2a05bba8d2b70d12f780876b2b94b8c392 (patch) | |
tree | 489843b446b5c2d06cbef9f9a10ade8e8b19bcf9 /Makefile | |
parent | 425027ec4be8e60a64168ddd797ef396445e6c26 (diff) | |
download | FreeBSD-src-0d897a2a05bba8d2b70d12f780876b2b94b8c392.zip FreeBSD-src-0d897a2a05bba8d2b70d12f780876b2b94b8c392.tar.gz |
Document tip on how to build all kernels quickly.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |