Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2017 01:53:22 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r323413 - stable/11
Message-ID:  <201709110153.v8B1rMe4056377@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709110153.v8B1rMe4056377>