svn commit: r323413 - stable/11

Ian Lepore ian at FreeBSD.org
Mon Sep 11 01:53:23 UTC 2017


Author: ian
Date: Mon Sep 11 01:53:22 2017
New Revision: 323413
URL: https://svnweb.freebsd.org/changeset/base/323413

Log:
  MFC r319859, r319888:
  
  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).
  
  By popular demand: change MAKE_GENERIC_KERNELS to MAKE_LINT_KERNELS.
  It appears that the same arches that lack GENERIC kernel configs also lack
  LINT.  But enough different arches get built to ensure a kernel change
  should build everywhere (32 and 64 bit, clang and old gcc, little and big
  endian).

Modified:
  stable/11/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/Makefile
==============================================================================
--- stable/11/Makefile	Mon Sep 11 01:51:27 2017	(r323412)
+++ stable/11/Makefile	Mon Sep 11 01:53:22 2017	(r323413)
@@ -521,6 +521,8 @@ TARGET!=	uname -m
 .endif
 .if defined(MAKE_ALL_KERNELS)
 _THINNER=cat
+.elif defined(MAKE_LINT_KERNELS)
+_THINNER=grep 'LINT' || true
 .else
 _THINNER=xargs grep -L "^.NO_UNIVERSE" || true
 .endif


More information about the svn-src-stable-11 mailing list