Building Custom Modules
Felix Miata
mrmazda at ij.net
Wed Jan 2 05:41:05 UTC 2008
On 2008/01/01 22:35 (GMT-0600) Matt Domsch apparently typed:
> On Tue, Jan 01, 2008 at 11:13:57PM -0500, Felix Miata wrote:
>> A note on
>> http://fedoraproject.org/wiki/Docs/CustomKernel#head-5658f6db74cec105eb1e6d5481444c2d621e8636
>> indicates it isn't complete. Can someone complete it, or tell me what's
>> missing enough that I can build a few F8 modules?
> What's there is sufficient for personal development purposes. It
> doesn't address how to get your modules included in the upstream
> kernel.org kernels, so they can be added to Fedora as well.
> There are other mechanisms, such as DKMS (yum install dkms) which also
> can be used for building kernel modules. The Makefile becomes even
> simpler, just the single line:
> obj-m := foo.o
> and DKMS takes care of the rest.
I must be dense. There's a Makefile already in the source dir that includes
the desired module name, but dkms wants a -v parameter, and man dkms gives me
no idea what a module-version is in this context of a module build. :-(
--
"In the beginning was the Word, and the Word was
with God, and the Word was God." John 1:1 NIV
Team OS/2 ** Reg. Linux User #211409
Felix Miata *** http://mrmazda.no-ip.com/
More information about the fedora-list
mailing list