Re: compiling select modules with kernel 2.6.x

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

 



On Fri, Apr 09, 2004 at 05:38:59PM -0500, chase.maupin@sbcglobal.net wrote:
> 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".

make path/to/driver/foo.ko

doesn't that work?

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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