[oe] package for kernel module devel?

Koen Kooi k.kooi at student.utwente.nl
Sun Jan 31 09:06:13 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 22-01-10 12:03, Steffen Sledz wrote:
> Our team is developing new kernel modules for our machine. For fast
> development cycles it would be very helpful to be able to compile the
> modules at the machine itself.
> 
> By installing task-native-sdk & Co. nearly all needed stuff is
> available but i miss the linux kernel headers and the corresponding
> link to them (/lib/modules/x.x.x.x/build). :(
> 
> Does a package exist for this (or for the complete kernel sources)?


The easiest way to do that would be to add something like this to
kernel.bbclass:

do_install() {

..

oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix} ARCH=$ARCH
}

And package those up.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLZUgFMkyGM64RGpERApq9AKCP3ImgTzjNcM3Z8+R/9UhhbrMnVgCfYW3k
tYs4OES4EbonVmi8cuCVpYs=
=Bl/6
-----END PGP SIGNATURE-----





More information about the Openembedded-devel mailing list