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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to