I think you have to do a 'make dep' first.
Something that I think I've done before: after the dep, cd to the dir.
where the module's code lives and just type 'make' there. Should make a
module. Then copy to the appropriate place in your /lib/modules/`uname
-r`/ directory.
Or since it doesn't take much time, maybe just a 'make modules_install'
in the top level directory, so you overwrite the ones you already had
installed, big deal... just make sure you didn't do a make clean first.
;)
OR, you could do what I do, which is to fire off the whole "make dep
clean install modules modules_install" ordeal and then go do something
else (other work, coffee, sleep).
-m
Peter Peltonen wrote:
>
> I've got kernel 2.2.17 running on a RH 6.2 machine.
>
> I want to add a new module to it's configuration, which is not compiled in the
> kernel nor it is compiled as a module.
>
> How do I compile just one module?
>
> Hopefully I don't have to compile the whole kernel again? Do I just do 'make
> menuconfig', mark the module I want, and then do 'make modules; make
> modules_install'? Or is there even a quicker way?
>
> Regards,
> Peter
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
--
Michael Jinks, IB // Technical Entity // Saecos Corporation
"Trouble ensues."
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list