summaryrefslogtreecommitdiff
path: root/meta/classes/sanity.bbclass
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-06-02 13:16:47 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-12 17:11:21 +0100
commit4b766d82b15f9821a8c7299826799fad9bb88666 (patch)
treef32bb7ececba15f769f1f2d519abc01f63deb309 /meta/classes/sanity.bbclass
parent6a7a5381357861a098640c42ba2f894213086b41 (diff)
downloadopenembedded-core-4b766d82b15f9821a8c7299826799fad9bb88666.tar.gz
openembedded-core-4b766d82b15f9821a8c7299826799fad9bb88666.tar.bz2
openembedded-core-4b766d82b15f9821a8c7299826799fad9bb88666.zip
sanity: shift the required utils into a variable
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r--meta/classes/sanity.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 999e15dafd..d50c8434ac 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -2,6 +2,8 @@
# Sanity check the users setup for common misconfigurations
#
+SANITY_REQUIRED_UTILITIES ?= "patch diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk chrpath wget cpio"
+
def raise_sanity_error(msg):
bb.fatal(""" Poky's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
@@ -213,7 +215,7 @@ def check_sanity(e):
if not check_app_exists('${BUILD_PREFIX}g++', e.data):
missing = missing + "C++ Compiler (%sg++)," % data.getVar("BUILD_PREFIX", e.data, True)
- required_utilities = "patch diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk chrpath wget cpio"
+ required_utilities = e.data.getVar('SANITY_REQUIRED_UTILITIES', True)
if "qemu-native" in assume_provided:
if not check_app_exists("qemu-arm", e.data):