]> code.ossystems Code Review - openembedded-core.git/commit
cross: export CC family from BUILD_* for cross compilers
authorJérémy Rosen <jeremy.rosen@smile.fr>
Wed, 7 Sep 2016 09:08:42 +0000 (11:08 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 13 Sep 2016 14:17:34 +0000 (15:17 +0100)
commit110cc22614f92e848bbba9ecaa5e6f089f9a2749
tree105a6b2d5cd7169151d1079f8a0cfd56ed36346c
parentc1f08c04a95f6ec089d4a62d90119df01c94cd80
cross: export CC family from BUILD_* for cross compilers

cross-compilers are native recipes that need to be compiled by the host's
compiler. However they do not use native.bbclass

As a consequence, the various CC, CXX etc environment variables are not
correctly set and they will not honor the host compiler name provided
by the BUILD_* variables.

Signed-off-by: Jérémy Rosen <jeremy.rosen@smile.fr>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/cross.bbclass