Date: Mon, 12 Jun 2017 17:22:23 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r319859 - head Message-ID: <201706121722.v5CHMNNo000648@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ian Date: Mon Jun 12 17:22:23 2017 New Revision: 319859 URL: https://svnweb.freebsd.org/changeset/base/319859 Log: Add support for "make universe_kernels -DMAKE_GENERIC_KERNELS" to build just the GENERIC kernels for each arch (including variations such as GENERIC-NODEBUG, GENERIC64, etc). This helps with quickly doing a test build for all[*] arches without building dozens of variant kernels for the arches that have lots of hardware/board/system variations. [*] Not all arches have a generic kernel (but they probably should for test-building purposes, even if it can't boot on any real hardware). Modified: head/Makefile Modified: head/Makefile ============================================================================== --- head/Makefile Mon Jun 12 16:53:42 2017 (r319858) +++ head/Makefile Mon Jun 12 17:22:23 2017 (r319859) @@ -522,6 +522,8 @@ TARGET!= uname -m .endif .if defined(MAKE_ALL_KERNELS) _THINNER=cat +.elif defined(MAKE_GENERIC_KERNELS) +_THINNER=grep "GENERIC" || true .else _THINNER=xargs grep -L "^.NO_UNIVERSE" || true .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706121722.v5CHMNNo000648>