[CentOS] recompile 1 kernel modules

Mon Jun 13 23:32:20 UTC 2005
Alexander Dalloz <ad+lists at uni-x.org>

Am Mo, den 13.06.2005 schrieb Jerry Geis um 22:08:

> After looking closely the 8250.c is not a module. It is compiled into 
> the kernel.
> What is the shortes method to compile that file and rebuild what is 
> needed to
> get it running.

> Jerry

If something is compiled fix into the kernel and you want to change it
by modifying the source code, there is no way around to recompile the
whole kernel. So get the CentOS kernel src.rpm (probably you have that
already) and write a patch which you integrate into the kernel-2.6.spec
file. Then rpmbuild the kernel rpm.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.27_FC2smp 
Serendipity 01:26:15 up 21 days, 4 users, load average: 0.33, 0.34, 0.45
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.centos.org/pipermail/centos/attachments/20050614/f979e224/attachment-0005.sig>