[ATrpms-users] Building kernel modules with kernel-suspend2
Axel Thimm
Axel.Thimm at ATrpms.net
Thu Jul 27 01:37:34 CEST 2006
On Wed, Jul 26, 2006 at 04:23:40PM -0700, George Privon wrote:
> I'm trying to compile a video driver and I need the kernel source. I've
> downloaded the srpm, but I can't figure out how to get it to extract
> into the full kernel sources. Is there a way to do this without having
> to extract each individual .bz2 file and patch everything?
Install the src.rpm with
rpm -i ...src.rpm
and then
rpmbuild -bp --target i686 ...spec
You'll get the kernel source tree just before the kernel starts to
build, e.g. all patches applied, configs fixed etc.
Then you'll still need to run at least make prepare.
OR:
If you are lucky and the video driver only uses include/linux you can
use the kernel-suspend2-devel package. These are not full sources just
the exported headers, and about 70-90% of all kernel modules need only
these headers.
--
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-users/attachments/20060727/e6a9136e/attachment.bin
More information about the atrpms-users
mailing list