[oe] Using openembedded with externally built kernel

Philip Balister philip at balister.org
Thu Mar 13 17:36:18 UTC 2014


On 03/13/2014 12:56 PM, Diego Sueiro wrote:
> On Wed, Mar 12, 2014 at 10:48 AM, Carlos Rafael Giani <dv at pseudoterminal.org
>> wrote:
> 
>> I have a platform with a very barebones BSP that builds and patches a 2.6
>> kernel using a whole lot of shell scripts and patch files.
>> Integrating this build process into a .bb file is too complicated at the
>> moment.
>>
>> Since cross compiling all packages I need is a nightmare to do manually, I
>> wonder if I can get OE to use the prebuilt kernel along with
>> its kernel modules and headers instead of trying to build a new kernel.
>> Ideally, I would just tell it where the kernel headers are, where
>> the uImage is, and where the modules are. I imagine this as some kind of
>> kernel .bb file setting things up to not actually build anything.
>>
>> My question is: is this possible? All I could find was about external
>> toolchains and external kernel modules.
>>
> 
> I believe that you have to wright your own recipe with custom do_compile,
> do_install etc functions.

Write a recipe that "installs" the pre-built kernel and a tarball of
modules and commit the binary kernel and modules into the bsp layer.
Yeah, this is hacky, but does give you some repeatibility.

Philip

> 
> 
> 
> Abraços,
> 
> --
> *dS
> Diego Sueiro
> 
> Administrador do Embarcados
> www.embarcados.com.br<http://www.embarcados.com.br/?utm_source=assinatura_diego&utm_medium=e-mail&utm_campaign=Assinatura%20Email%20Diego>
> 
> /*long live rock 'n roll*/
> 



More information about the Openembedded-devel mailing list