compiling select modules with kernel 2.6.x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
 
I am looking for advice on how to compile only a single module in the 2.6 kernel.  Previously, in the 2.4 kernel I could do a "make modules --dry-run" and select the compile line for the module I wished to compile.  I could then run this line and the module would be compiled.  However, in the 2.6 kernels I have noticed that the kernel generates a .mod.c file.  As yet I have not found a way to generate this file without doing a full "make modules".
 
I am looking to compile the cciss.ko driver specifically.  I will mention, that if I save the output from a run of make modules like "make V=1 modules > output 2>&1" I can then go through that output and select the proper compile lines.  I have also discovered that the command "make modules --dry-run" does not include all of the compile lines that I see when I view the output from a run of make modules.
 
In general my question is how can I compile the cciss module located in drivers/block, without having to compile all the modules in the kernel.
 
Thanks,
Chase

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux