[Pkg-virtualbox-devel] Building modules

Torsten Werner mail.twerner at googlemail.com
Sun Dec 30 16:23:19 UTC 2007


Hi Michael,

On Dec 30, 2007 5:10 PM, Michael Meskes <meskes at debian.org> wrote:
> 1) Why do we have patch 02-host-module.dpatch? It only makes sure that
> KERN_DIR is set to $(KDIR). But where is KDIR set? I've run some tests
> without it and they seem to yield exactly the same results.
>
> This patch was done by Torsten, so he might know. :-)

the kernel modules were not compatible with the kernel build
infrastructure (which is called kbuild too) about 10 months ago. That
is why the patch was needed. The $(KDIR) variable is set by the
kernel, please see .../Documentation/kbuild/modules.txt for more
information. VirtualBox became compatible with the kernel build
infrastructure and my patch might be obsolete: if the module builds
without the patch you don't need it.


Cheers,
Torsten

-- 
blog: http://twerner.blogspot.com/
homepage: http://www.twerner42.de/



More information about the Pkg-virtualbox-devel mailing list