diff options
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/classes/sanity.bbclass | 4 |
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 @@ | |||
| 2 | # Sanity check the users setup for common misconfigurations | 2 | # Sanity check the users setup for common misconfigurations |
| 3 | # | 3 | # |
| 4 | 4 | ||
| 5 | SANITY_REQUIRED_UTILITIES ?= "patch diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk chrpath wget cpio" | ||
| 6 | |||
| 5 | def raise_sanity_error(msg): | 7 | def raise_sanity_error(msg): |
| 6 | bb.fatal(""" Poky's config sanity checker detected a potential misconfiguration. | 8 | bb.fatal(""" Poky's config sanity checker detected a potential misconfiguration. |
| 7 | Either fix the cause of this error or at your own risk disable the checker (see sanity.conf). | 9 | 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): | |||
| 213 | if not check_app_exists('${BUILD_PREFIX}g++', e.data): | 215 | if not check_app_exists('${BUILD_PREFIX}g++', e.data): |
| 214 | missing = missing + "C++ Compiler (%sg++)," % data.getVar("BUILD_PREFIX", e.data, True) | 216 | missing = missing + "C++ Compiler (%sg++)," % data.getVar("BUILD_PREFIX", e.data, True) |
| 215 | 217 | ||
| 216 | required_utilities = "patch diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk chrpath wget cpio" | 218 | required_utilities = e.data.getVar('SANITY_REQUIRED_UTILITIES', True) |
| 217 | 219 | ||
| 218 | if "qemu-native" in assume_provided: | 220 | if "qemu-native" in assume_provided: |
| 219 | if not check_app_exists("qemu-arm", e.data): | 221 | if not check_app_exists("qemu-arm", e.data): |
