Bug 191920

Summary: src.conf.5 does not document options in kern.opts.mk
Product: Base System Reporter: Ed Maste <emaste>
Component: miscAssignee: Warner Losh <imp>
Status: Closed FIXED    
Severity: Affects Only Me CC: brooks, emaste
Priority: --- Flags: emaste: mfc-stable10?
emaste: mfc-stable9-
emaste: mfc-stable8-
Version: CURRENT   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 191930    

Description Ed Maste freebsd_committer freebsd_triage 2014-07-17 12:32:21 UTC
r265785 introduced kern.opts.mk for kernel options, but did not update make showconfig and/or tools/build/options/makeman, so a subsequent regeneration of src.conf.5 in r266158 removed the description for kernel options like MK_DEBUG_SYMBOLS

A fix is fairly straightforward, but I'm not sure if there are plans to evolve the kernel/userland config so I'll let Warner choose the best fix.
Comment 1 Ed Maste freebsd_committer freebsd_triage 2014-10-21 19:45:39 UTC
Possible approach from Warner,
-    @${MAKE} -n -f src.opts.mk -V dummy -dg1 2>&1 | grep ^MK_ | sort
+    @(${MAKE} -n -f src.opts.mk -V dummy -dg1 2>&1; \
+      ${MAKE} -n -f sys/conf/kern.opts.mk -V dummy -dg1 2>&1) | grep ^MK_ | sort
Comment 2 commit-hook freebsd_committer freebsd_triage 2014-10-21 20:30:31 UTC
A commit references this bug:

Author: imp
Date: Tue Oct 21 20:29:51 UTC 2014
New revision: 273418
URL: https://svnweb.freebsd.org/changeset/base/273418

Log:
  Generate both userland and kernel option settings for showconfig.

  PR: 191920

Changes:
  head/Makefile.inc1
Comment 3 Glen Barber freebsd_committer freebsd_triage 2015-07-08 18:15:33 UTC
Close PRs that have had a corresponding fix committed.