Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: package for kernel module devel?
Date: Sun, 31 Jan 2010 10:06:13 +0100	[thread overview]
Message-ID: <hk3h64$uib$1@ger.gmane.org> (raw)
In-Reply-To: <4B598603.4080603@dresearch.de>

-----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-----




      parent reply	other threads:[~2010-01-31  9:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-22 11:03 package for kernel module devel? Steffen Sledz
2010-01-30 22:40 ` GNUtoo
2010-01-31  9:06 ` Koen Kooi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='hk3h64$uib$1@ger.gmane.org' \
    --to=k.kooi@student.utwente.nl \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox