[oe] [meta-oe][PATCH] meson: export native env only for native build
Alexander Kanavin
alexander.kanavin at linux.intel.com
Wed Nov 15 10:05:44 UTC 2017
On 11/14/2017 08:23 PM, Martin Kelly wrote:
> For native builds:
> - Keep the defaults (which use native tools), but export
> PKG_CONFIG=pkg-config-native instead of pkg-config.
>
> For target builds:
> - Set CC, CXX, LD, and AR, but *not* CFLAGS, CXXFLAGS, LDFLAGS etc. We
> need CC, CXX etc. so meson finds the native tools for its build sanity
> tests, but we don't want to set the flags, as meson will slurp them in
> and apply them to the cross build. Note that even though we set CC, etc.
> meson will correctly override them in the cross file for the actual
> target build.
Thanks for looking - can you make a patch for these things against my
branch in poky-contrib, and send it to oe-core list? I will send the
patchset any day now, and there will be a corresponding patch to remove
meson recipe and class from meta-oe. So now is the good point to have it
all fixed so that the transition is smooth.
Alex
More information about the Openembedded-devel
mailing list