PATCH: install Module.symvers as Module.symvers.$module
Matt_Domsch at dell.com
Thu Dec 3 07:17:43 CST 2009
On Thu, Dec 03, 2009 at 02:49:36PM +0800, Jens Jorgensen wrote:
> Matt Domsch wrote:
> > On Tue, Nov 24, 2009 at 12:02:27PM +0800, Jens Jorgensen wrote:
> >> I recently purchased a Sangoma U100 USBFxo device. Sangoma provides a
> >> kernel driver and utilities in source form. The driver for this device
> >> however depends on the DAHDI drivers, (ie. the Sangoma drivers import
> >> symbols exported from dahdi.ko). Well, on my shiny new Kubuntu 9.10
> >> system, dahdi modules are provided as a dkms package. This is nice and
> >> convenient. Well, except for the fact that when dkms builds the kernel
> >> modules you get the kernel modules themselves, but the Module.symvers
> >> that is generated is discarded. Ouch!
> > what does kbuild do in the 'make modules_install M=drivers/net' case?
> > We'd want to leverage that.
> Hey, great to get you in to the conversation! I don't know, but I'm
> happy to spend some time finding out. Do I presume from what you are
> saying that when you build a subset of modules kbuild would actually
> /update/ the Modules.symvers file in-place for you?
exactly. I don't know off hand how that works, if it does at all, and
I'm a little busy right now to take the time to figure it out myself.
If you can, that would help move this forward.
Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux
More information about the DKMS-devel