svn commit: r299393 - in head: . share/mk
John Baldwin
jhb at freebsd.org
Wed Jun 1 16:30:06 UTC 2016
On Monday, May 30, 2016 01:21:50 PM Julian Elischer wrote:
> On 27/05/2016 2:28 AM, John Baldwin wrote:
> > On Wednesday, May 25, 2016 03:27:07 PM Hans Petter Selasky wrote:
> >> On 05/11/16 00:32, John Baldwin wrote:
> >>> Author: jhb
> >>> Date: Tue May 10 22:32:23 2016
> >>> New Revision: 299393
> >>> URL: https://svnweb.freebsd.org/changeset/base/299393
> >>>
> >>> Log:
> >>> Change the default installation directory for modules to /boot/modules.
> >>>
> >>> Kernel installs always override KMODDIR when installing modules, so
> >>> this default setting is only used for standalone module builds. Many
> >>> out-of-tree modules manually override KMODDIR already to avoid placing
> >>> modules in /boot/kernel. This now makes that behavior the default.
> >>>
> >>> Discussed on: arch@
> >>> Reviewed by: imp
> >>> Relnotes: yes
> >>>
> >> Just a small nit:
> >>
> >> There is a comment in bsd.own.mk which needs updating too:
> >>
> >>> #
> >>> # KMODDIR Base path for loadable kernel modules
> >>> # (see kld(4)). [/boot/kernel]
> > Oops, thanks. Fixed.
>
> the comment should also mention it does not cover in-tree modules.
Actually, it does. If you cd /sys/modules/foo and run make install it
installs to this path. Only buildkernel overrides this explicitly
when installing the modules built together with a kernel.
--
John Baldwin
More information about the svn-src-all
mailing list