[oe] [meta-oe][PATCH 2/3] meson: fix build/host confusion for bbclass

Burton, Ross ross.burton at intel.com
Mon Jun 26 13:07:55 UTC 2017


On 16 June 2017 at 12:19, Linus Svensson <linus.svensson at axis.com> wrote:

> What is the difference?
>
> As far as I understand, bitbake and meson use the same terminology. meson
> is supposed to get the build machine info from the environment, not the
> cross file.
>

Linus is right.  Quoting the documentation:

autotools:
--build: In which system the program will be built.
--host: In which system the generated program will run.

Meson:
build machine is the computer that is doing the actual compiling
host machine is the machine on which the compiled binary will run

So changing host_machine to use BUILD_* variables is wrong.

Ross



More information about the Openembedded-devel mailing list