]> code.ossystems Code Review - openembedded-core.git/commit
classes/sanity: check if SDKMACHINE setting has taken effect
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 31 Mar 2014 10:29:36 +0000 (11:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 31 Mar 2014 16:45:33 +0000 (17:45 +0100)
commit25ba4042ae782016aaf1cb5d3dac09b2a1030a1e
tree2656c4e61b441f228ab884d2d41cbcb219707515
parentaf595b09d570cbd320e4e138651144ac96bfbb83
classes/sanity: check if SDKMACHINE setting has taken effect

If you try to set SDKMACHINE in a distro configuration file, it won't
take effect because by the time that is parsed the line in bitbake.conf
which includes the appropriate conf file for SDKMACHINE has already been
parsed. Check that SDK_ARCH has changed from its default value and show
an error if it hasn't in order to catch this misconfiguration.

Fixes [YOCTO #5861].

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sanity.bbclass