[oe] Using EXTERNALSRC in practice

Ulf Samuelsson openembedded at emagii.com
Mon Jun 20 13:48:20 UTC 2016


Den 2016-06-20 kl. 14:37, skrev Jérémy Rosen:
>
> On 20/06/2016 14:08, Ulf Samuelsson wrote:
>> We have a meta-layer which builds the kernel.
>>
>> This contains among other things:
>>
>> FILESEXTRAPATHS_prepend_<machine> = "${THIS_DIR}/<machine>"
>>
>> SRC_URI = "git://<server>/<repo.git>;protocol=ssh;branch=<branch>"
>> SRC_URI += "file://defconfig"
>>
>> PV = "...+git${SRCPV}"
>> SRCREV = "<shaid>"
>> ...
>>
>> Would like to have an option to build the kernel with external source.
>> That option should be easy to enable/disable
>>
> [skip the rest]
>
> What you are describing here is very close to how the devtool works. I 
> think it can deal with kernel packages in its latest iteration
>
> did you have a look at that tool ? does it satisfy your need ? if not, 
> what would it need to do what you want...

No, where can I find more information?

The customer does not use the latest version of Yocto right now, so that 
might be a problem,

so It would be good to have an example ".bbappend" to start with.

BR

Ulf





More information about the Openembedded-devel mailing list