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

Burton, Ross ross.burton at intel.com
Thu May 9 11:04:13 UTC 2019


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.

Ross


More information about the Openembedded-core mailing list