Re: static compilation or as a module

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

 



Hi Fawad,

Fawad Lateef <fawadlateef@xxxxxxxxx> wrote:
On 2/18/06, Rajaram Suryanarayanan wrote:
>
> I often see that some kernel subcomponents cannot be compiled as a module
> in "make xconfig". They can only be compiled statically or never.
> So I want to understand what is the criteria for this ? What are the things
> that can make a set of kernel code never suitable for compiling it as a
> module ?
>

I think this happens only for those modules which must be required by
the kernel and can't be compiled as loadable module __and__ most of
the options actually not for compiling some code rather those symbols
are required with-in the module/code going to be compile. As you can
compile almost all drivers as module (also IO Scheduler etc) but if
they required any symbol (with-in their code) then it won't be
selected as M because they are not used for module compiling rather
they are internal #ifdef for that module.

I hope this will clear your doubts ...

--
Fawad Lateef

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

Thanks for your reply.
But I am not able to understand your reply. Could you please be more clear ?

Regards,
Rajaram.


Yahoo! Mail
Use Photomail to share photos without annoying attachments.

[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