Re: How to build static module

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

 



> As a part of 2.6 kernel compilation I want to include  my module to
> make static module.

What do you mean by static module? Do you mean you want to make it a
part of the kernel image?

All modules are supposed to be relocatable so that they can be loaded
in any part of kernel memory on insmod. So if you mean static in that
sense, then you probably want to build your module with the 'y' option
which makes it a part of the kernel. Check
Documentation/kbuild/makefiles.txt for more info.

Regards,
-Joel

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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