summaryrefslogtreecommitdiff
path: root/oe-init-build-env
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-30 17:14:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-31 19:30:17 +0100
commit02aceca132f9e259cdc5283c4bfe84e6a55df54d (patch)
tree892db0cac5b5f2c3b7547d66f332dc5de6731cb5 /oe-init-build-env
parentab44ec9618109b0852d9441b6dd065c72c86acb2 (diff)
downloadopenembedded-core-02aceca132f9e259cdc5283c4bfe84e6a55df54d.tar.gz
openembedded-core-02aceca132f9e259cdc5283c4bfe84e6a55df54d.tar.bz2
openembedded-core-02aceca132f9e259cdc5283c4bfe84e6a55df54d.tar.xz
openembedded-core-02aceca132f9e259cdc5283c4bfe84e6a55df54d.zip
sanity.bbclass: Clean up various MACHINE checks
[YOCTO #1398] Firstly we should start checking if MACHINE is set. It if isn't lets make this a sanity warning since its very hard to successfully build without setting one (and anyone wanting to do that can disable the sanity checks easily enough anyway). Some of the checks depend on a MACHINE being specified. This change moves those checks to a separate function so they only run if MACHINE has been set correctly. Both these issues combine to ensure the user sees a sane message and avoids the nasty tracebacks in the bug report referenced above. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'oe-init-build-env')
0 files changed, 0 insertions, 0 deletions