Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jan 2013 00:22:34 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        John Hein <emul-jfbml@snkmail.com>
Cc:        freebsd-emulation@freebsd.org, Julian Bradfield <jcb+vm@jcbradfield.org>
Subject:   Re: VirtualBox kernel modules
Message-ID:  <alpine.BSF.2.00.1301120003170.3642@wonkity.com>
In-Reply-To: <12834-1357944221-165573@sneakemail.com>
References:  <alpine.BSF.2.00.1301101929430.23007@wonkity.com> <CAFMmRNw%2B%2BdNNhYfUUWH4P1pUoO3koC%2BdTKR_PFVbkJCA2p0YMA@mail.gmail.com> <alpine.BSF.2.00.1301102130150.23661@wonkity.com> <CALBk6yJH4P1jSkSR-rOc5st1jWu_jrR1C2JBK_ebbVnnNi%2B%2BEw@mail.gmail.com> <CAE-m3X1VTDeA4QYKs=%2B3haeTMKKf%2B%2BG5qmVavYBKXOvniXxmZg@mail.gmail.com> <12834-1357944221-165573@sneakemail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
(viewmail-info@nongnu.org removed from Cc list, sorry if that was 
correct.)

On Fri, 11 Jan 2013, John Hein wrote:

> It's in /usr/share/mk/bsd.own.mk (which is included early by make(1) -
> due to bsd.own.mk inclusion in /usr/shar/mk/bsd.port.mk)...
>
> ..if defined(MODULES_WITH_WORLD)
> KMODDIR?=       /boot/modules
> ..else
> KMODDIR?=       /boot/kernel
> ..endif
>
> And from make.conf(5) ...
>
>     MODULES_WITH_WORLD
>                   (bool) Set to build modules with the system instead of the
>                   kernel.
>
> Not the best named knob for the KMODDIR adjustment.

The explanation makes no sense to me.  It doesn't really mean build, 
it's a choice of where the new modules will be installed.

   MODULES_WITH_WORLD
 	(bool) Set to install modules in the /boot/modules directory.
         Unset to install modules in the /boot/kernel directory along
 	with the FreeBSD kernel.

It really should be inverted and the variable named MODULES_WITH_KERNEL.



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