Compiling a custom kernel vs. compiling a single module.

jbk jbk at mail2.gis.net
Wed Dec 6 18:57:55 EST 2006


Matthew Gillen wrote:
> jbk wrote:
>> I'm not to the point of inserting the module yet. I first want to know
>> what the procedure is to compile the module. What do I need to do to
>> compile the module for the stock kernel that fedora ships. 
> 
> see section 8.7 of the release notes, available online here:
> http://fedora.redhat.com/docs/release-notes/fc6/en_US/
> 
> Matt
> 
My issue is not how to compile an outside driver for the 
linux kernel. I want to compile a module that is part of the 
distribution but is not compiled by default. But, reading 
that section again, I would infer that I have to have both 
the kernel-devel package for the running kernel plus the 
kernel source because there are no .c files in the devel 
package. So I would grab the ide-tape.c file put it in the 
build directory, make the Makefile as noted in Chap 8.7 and 
do make /dir/file.ko , I think. There is a lacking in 
examples to make sure the proper syntax is followed.

Jim

P.S. I can follow directions, edit simple bash scripts, but 
I do not know perl or any programming other than a cursory 
understanding.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Discuss mailing list