how do you compile a kernel module without re-compiling the whole kernel?
A. Khattri
ajai
Thu Jan 20 12:17:52 PST 2005
On Thu, 20 Jan 2005, Jason Joines wrote:
> There were instructions with the Adaptec source to patch my linux
> source but I don't want to have to recompile the whole kernel. I guess
> I could do just the 'make modules; make modules_install' part again but
> don't really want to recompile and reinstall all the other modules. Is
> there any way to just make and install this one module?
Hmmm... let me get this straight... the instructions are telling you to
patch the kernel but you want to disregard that and just rebuild modules?
Does this make sense given that the instructions specifically say you
need to patch the kernel?
Anyway, the usual way to build modules AFAIK, is:
cd /usr/src/linux
make modules
make modules_install
Ive never rebuilt just one module - Im sure there are dependencies to
consider.
--
More information about the Linux-users
mailing list