[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: adding modules to the kernel
> -----Original Message-----
> From: Amit Kucheria [mailto:firstname.lastname@example.org]
> Sent: Friday, March 14, 2003 19:38
> To: Peter Kjellerstedt
> Cc: Etrax mailing list
> Subject: RE: adding modules to the kernel
> > > How are other developers organizing their own modules? Also,
> > > where are you putting the modules on the filesystem?
> > Modules are installed automatically by the main Makefile in the
> > /lib/modules/<kernel version>/kernel directory.
> /lib/modules/<kernel version> ... is true for normal kernel
> But I do not see a call to 'make modules' call in the Top-level
> Makefile. So I believe that this has to be done manually. Is
> that right?
No. It should be there at the end of the rule called 'kernel'.
Look for CONFIG_MODULES in the top Makefile and you should
find both the location where they are built and where they
are installed. You should not have to do anything manually
for the modules to be built and installed as long as you have
enabled CONFIG_MODULES in the kernel config, and marked which
parts should be built as modules.