diff options
author | Joshua Lock <josh@linux.intel.com> | 2012-04-23 14:36:09 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-23 23:02:53 +0100 |
commit | b022641f939bcfcdaddddc4db3af4d2dc70de832 (patch) | |
tree | a4e28b9526b6f119c6fd64e397713cf3895de181 /meta/classes | |
parent | 20e2761e1da1cb5dcd267e161f2a6b6a429e9f39 (diff) | |
download | openembedded-core-b022641f939bcfcdaddddc4db3af4d2dc70de832.tar.gz openembedded-core-b022641f939bcfcdaddddc4db3af4d2dc70de832.tar.bz2 openembedded-core-b022641f939bcfcdaddddc4db3af4d2dc70de832.tar.xz openembedded-core-b022641f939bcfcdaddddc4db3af4d2dc70de832.zip |
sanity.bbclass: add variable to disable the sanity checks
It's useful for Hob to be able to disable the sanity checks completely
without marking them as passed so that the user can get into the GUI to
configure their settings, etc.
Add a variable, DISABLE_SANITY_CHECKS, to do so.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/sanity.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 9cd04c42b..c3d4e5888 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -453,7 +453,7 @@ def check_sanity(e): addhandler check_sanity_eventhandler python check_sanity_eventhandler() { - if bb.event.getName(e) == "ConfigParsed" and e.data.getVar("BB_WORKERCONTEXT", True) != "1": + if bb.event.getName(e) == "ConfigParsed" and e.data.getVar("BB_WORKERCONTEXT", True) != "1" and e.data.getVar("DISABLE_SANITY_CHECKS", True) != "1": check_sanity(e) return |