Download the kernel source package for example kernel-2.6.18-8.el5.src.rpm and install it after following the instructions on creating a user specific build layout.
Then the minimum that’s required is -
cd rpm/SPECS
rpmbuild -ba –target=i686 kernel-2.6.spec
If you need to patch the kernel with your changes, place the patch in the rpm/SOURCES directory and update the spec file with the […]
Using the kernel build system to build a module when you ony have access to binary object files is not as straightforward as it may seem.
The kernel kbuild documenation does not have a complete description of this, so i had to piece it together from mailing lists. The reason for this is probably simply that doing this is discouraged because drivers should have their code released and if possible integrated into the kernel.
So, you’ve got some […]