How to specify kernel in OpenEmbedded?


I am having trouble specifying a later kernel version when building
angstrom with openembedded. Right now I do the following:

1. Modify conf/machine/include/ and I have the following:
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-2.6.31". It was
specified to 'linux-omap' before.

2. The distro specified in local.conf is 'angstrom-2008.1'.

Is this the right way?


You don't need to change the kernel version. It works Ok with the
specified parameters for any angstrom distro , even if it's 2009.

Thanks for the reply.

I am not too sure what you mean? I guess the reason why I need to use a
newer kernel was because I need some of the newer drivers that are
available there.

Using the dev branch and specifying the following parameter in
local.conf did the trick:

PREFERRED_VERSION_linux-omap = "2.6.31"