[OE-core] [PATCH] meson.bbclass: add MESON_CROSS_EXTRA_PROPS to inject properties into meson.cross

Andreas Müller schnitzeltony at gmail.com
Thu May 9 12:03:03 UTC 2019


On Thu, May 9, 2019 at 1:41 PM Andreas Müller <schnitzeltony at gmail.com> wrote:
>
> On Thu, May 9, 2019 at 1:04 PM Burton, Ross <ross.burton at intel.com> wrote:
> >
> > On Wed, 8 May 2019 at 21:14, Andreas Müller <schnitzeltony at gmail.com> wrote:
> > > Some projects rely on (cross)specific properties e.g [1]. By setting
> > >
> > > MESON_CROSS_EXTRA_PROPS="var1='value1' var2=true"
> > >
> > > the required properties can be passed to meson.build. The contents of
> > > MESON_CROSS_EXTRA_PROPS behave same as known by e.g EXTRA_OEMESON.
> > >
> > > [1] https://gitlab.gnome.org/GNOME/tracker/blob/master/meson.build#L91
> >
> > Or see https://git.openembedded.org/openembedded-core/commit/?id=e04e0a20cab04966698c50dc79195a8f159248d3
> > for an example of how this is done already.
> >
> Sometimes the sending of patches is the secret attempt to gather information :)
>
> Thanks
>
So for me to understand it correctly: adding multiple '--cross-file'
entries in commandline accumulates the contents of the files and it is
not the last that wins?

I am asking because help says 'File describing cross compilation
environment.' so I wouldn't expect this behaviour.

Andreas


More information about the Openembedded-core mailing list