[OE-core] Issues with meson in SDK with cross-file

Martin Kelly mkelly at xevo.com
Wed Feb 7 17:14:12 UTC 2018


On 02/06/2018 06:28 PM, Joshua Watt wrote:
> On Tue, 2018-02-06 at 15:39 -0800, Martin Kelly wrote:
>> (ping)
>>
>> Paul, what do you about the options we have here for making meson
>> work
>> properly in the SDK?
>>
>> To recap, here are the available options. I'm wondering if you could
>> give your opinion on the best fit for how OE SDKs work:
>>
>> - Generate meson.cross toolchain file at SDK extraction time.
>> - Wrap meson with a shell script that dynamically generates a
>> toolchain
> 
> FWIW, I *just* pushed up a patch to add support for this to so that I
> could have Icecream distributed compiling support in the SDK. I called
> them post-relocation scripts, see http://lists.openembedded.org/piperma
> il/openembedded-core/2018-February/147282.html
> 
> This patch show how you install a post-relocation script from a recipe:
> http://lists.openembedded.org/pipermail/openembedded-core/2018-February
> /147283.html (look at icecc-setup.sh). It's pretty easy and modeled
> after the environment setup scripts. The issue that meson is having
> sounds similar to what I encountered with Icecream: something needed in
> the SDK can only really be generated by host system when the SDK is
> installed. There isn't enough information or the ability to generate it
> beforehand when the SDK is constructed by Yocto.
> 
> Granted, this patch has not yet gone through the rigors of code review
> so it will likely change, but I think that it is safe to say that such
> a feature would be useful for more that just meson.
> 

I think this is exactly what we need, thanks so much! When your patches 
get merged, I'll try this out with meson.



More information about the Openembedded-core mailing list