Re: module integration

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

 



u don't have to do much.....just don't define the MODULE flag while
compiling ur module! (no -DMODULE) the built-in macros take care
of the rest for u (i presume u don't already have a #define MODULE
in your module). recently had a discussion on this in this list...
search the archives for more

HTH,
-mandeep

On Fri, 2004-11-05 at 16:36, kaushal wrote:
> hello all,
>           I have written a pseudo module which acts like a character
> driver.That was to understand the link between user-mode calls to the
> corresponding kernel Fops structure's functions.I created a file system
> representation /dev/pseudo.I insmod the module all the time.Now I want
> to integrate this module as a "built-in" in the kernel.What are the
> files that I have to edit and what is the procedure?I searched for this
> but I couldn't get the "procedure".Any help would be grateful.
> 
> Thanks in advance. 
> 
> kaushal.
> 
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 

--
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