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

2018-02-07 Thread Martin Kelly
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

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

2018-02-06 Thread Joshua Watt
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:

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

2018-02-06 Thread Martin Kelly
(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. -

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

2018-01-17 Thread Martin Kelly
Paul, any opinion? On 01/12/2018 04:35 AM, Alexander Kanavin wrote: On 01/11/2018 09:22 PM, Martin Kelly wrote: Khem and Alexander, could you comment on which solution is preferable from an SDK standpoint? Otherwise, could you nominate someone else to do so in your place? :) I'm not sure

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

2018-01-12 Thread Alexander Kanavin
On 01/11/2018 09:22 PM, Martin Kelly wrote: Khem and Alexander, could you comment on which solution is preferable from an SDK standpoint? Otherwise, could you nominate someone else to do so in your place? :) I'm not sure who is the resident SDK expert, perhaps Paul Eggleton? Alex --

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

2018-01-11 Thread Martin Kelly
On 01/11/2018 11:33 AM, Martin Kelly wrote: On 01/11/2018 11:26 AM, Khem Raj wrote: On Thu, Jan 11, 2018 at 11:22 AM, Martin Kelly wrote: Khem and Alexander, could you comment on which solution is preferable from an SDK standpoint? Otherwise, could you nominate someone else

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

2018-01-11 Thread Martin Kelly
On 01/11/2018 11:26 AM, Khem Raj wrote: On Thu, Jan 11, 2018 at 11:22 AM, Martin Kelly wrote: Khem and Alexander, could you comment on which solution is preferable from an SDK standpoint? Otherwise, could you nominate someone else to do so in your place? :) Here are the

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

2018-01-11 Thread Khem Raj
On Thu, Jan 11, 2018 at 11:22 AM, Martin Kelly wrote: > Khem and Alexander, could you comment on which solution is preferable from > an SDK standpoint? Otherwise, could you nominate someone else to do so in > your place? :) > > Here are the possible solutions proposed: > > -

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

2018-01-11 Thread Martin Kelly
Khem and Alexander, could you comment on which solution is preferable from an SDK standpoint? Otherwise, could you nominate someone else to do so in your place? :) Here are the possible solutions proposed: - Generate meson.cross toolchain file at SDK extraction time. - Wrap meson with a shell

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

2018-01-10 Thread Alexander Kanavin
On 01/09/2018 11:50 AM, Nirbheek Chauhan wrote: Recently, we got meson added to OE-core as part of Yocto (thanks Alexander Kanavin!). Great to hear that! Thanks for your work, Alexander :) I've built on the meta-oe meson recipe created by other people (tried to credit them in the commit).

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

2018-01-09 Thread Martin Kelly
On 01/09/2018 10:40 AM, Jussi Pakkanen wrote: On Tue, Jan 9, 2018 at 8:20 PM, Martin Kelly wrote: Note the "native C compiler" line, which directly uses $CC. I'm not sure if this is correct, but an easy way to fix the issue is to ignore $CC for internal sanity checking when

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

2018-01-09 Thread Martin Kelly
On 01/09/2018 02:06 AM, Nirbheek Chauhan wrote: On Tue, Jan 9, 2018 at 3:20 PM, Nirbheek Chauhan wrote: If we want to setup a cross-file to use these arguments, we would have to generate the cross-file on-the-fly (not good). Out of interest, why is that not good?

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

2018-01-09 Thread Martin Kelly
+CC Khem Raj, who has done a lot of work on the SDK and may have an opinion about handling relocatable cross files. On 01/09/2018 01:50 AM, Nirbheek Chauhan wrote: On Tue, Jan 9, 2018 at 5:21 AM, Martin Kelly wrote: [Jussi Pakkanen, Nirbheek Chauhan, I know you may not be on

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

2018-01-09 Thread Nirbheek Chauhan
On Tue, Jan 9, 2018 at 3:20 PM, Nirbheek Chauhan wrote: >> If we want to setup a cross-file to use these arguments, we would have to >> generate the cross-file on-the-fly (not good). > > Out of interest, why is that not good? That is precisely what Gentoo > does and it

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

2018-01-09 Thread Nirbheek Chauhan
(re-sending because the previous one was automatically rejected because I wasn't subscribed) On Tue, Jan 9, 2018 at 5:21 AM, Martin Kelly wrote: > [Jussi Pakkanen, Nirbheek Chauhan, I know you may not be on the list; I > added you to get Yocto/OE and meson upstream all on the

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

2018-01-08 Thread Martin Kelly
[Jussi Pakkanen, Nirbheek Chauhan, I know you may not be on the list; I added you to get Yocto/OE and meson upstream all on the same thread to discuss integrating the two] Hi all, Recently, we got meson added to OE-core as part of Yocto (thanks Alexander Kanavin!). That said, it doesn't yet