]> code.ossystems Code Review - openembedded-core.git/commitdiff
sanity: shift the required utils into a variable
authorChris Larson <chris_larson@mentor.com>
Thu, 2 Jun 2011 20:16:47 +0000 (13:16 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 12 Aug 2011 16:11:21 +0000 (17:11 +0100)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
meta/classes/sanity.bbclass

index 999e15dafdc59099b5f79336ef43353e5da0127b..d50c8434ac37d1b4db086125fde4954ee27d814f 100644 (file)
@@ -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):