]> code.ossystems Code Review - openembedded-core.git/commit
native.bbclass: use BUILD_* variables
authorRoss Burton <ross.burton@intel.com>
Tue, 21 Oct 2014 10:50:13 +0000 (11:50 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 24 Oct 2014 16:31:58 +0000 (17:31 +0100)
commit9237d18964ff0bf76f5c37fca21ab3974d81d0d2
treec51042fba777279a6c49bc458e7f0970aa036dbd
parent1247955a907f51aac7efd305d26856e263c11a65
native.bbclass: use BUILD_* variables

Instead of replicating the logic for the host compiler naming from bitbake.conf,
use the BUILD_* variables directly.

Also change BUILD_CPP to use gcc -E (which native.bbclass previously used), as
some recipes (e.g. grub-efi) use ${CPP} with multiple input files, which gcc -E
can handle but cpp can't.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/native.bbclass
meta/conf/bitbake.conf