Add comments about KERN_OPT here.

This commit is contained in:
Warner Losh 2019-07-19 17:48:29 +00:00
parent 1d6d0a43ce
commit eec0e91e05
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=350142

View File

@ -45,6 +45,8 @@ KERN_OPTS+= INET TCP_OFFLOAD
KERN_OPTS+= INET6
.endif
.elif !defined(KERN_OPTS)
# Add all the options that are mentioned in any opt_*.h file when we
# have a kernel build directory to pull them from.
KERN_OPTS!=cat ${KERNBUILDDIR}/opt*.h | awk '{print $$2;}' | sort -u
.export KERN_OPTS
.endif