PATCH: install Module.symvers as Module.symvers.$module

Jens Jorgensen jbj1 at ultraemail.net
Thu Dec 3 00:49:36 CST 2009


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?

-- 
Jens B. Jorgensen
jbj1 at ultraemail.net



More information about the DKMS-devel mailing list