diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/sanity.bbclass | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index a5f935c893..ddab036f6a 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -92,9 +92,6 @@ def check_sanity(e): | |||
92 | 92 | ||
93 | required_utilities = "patch diffstat help2man texi2html cvs svn bzip2 tar gzip gawk makeinfo" | 93 | required_utilities = "patch diffstat help2man texi2html cvs svn bzip2 tar gzip gawk makeinfo" |
94 | 94 | ||
95 | for util in required_utilities.split(): | ||
96 | if not check_app_exists( util, e.data ): | ||
97 | missing = missing + "%s," % util | ||
98 | 95 | ||
99 | # qemu-native needs gcc 3.x | 96 | # qemu-native needs gcc 3.x |
100 | if "qemu-native" not in assume_provided: | 97 | if "qemu-native" not in assume_provided: |
@@ -102,6 +99,12 @@ def check_sanity(e): | |||
102 | 99 | ||
103 | if not check_app_exists('gcc-3.4', e.data) and not check_app_exists('gcc-3.3', e.data) and gcc_version[0] != '3': | 100 | if not check_app_exists('gcc-3.4', e.data) and not check_app_exists('gcc-3.3', e.data) and gcc_version[0] != '3': |
104 | missing = missing + "gcc-3.x (needed for qemu-native)," | 101 | missing = missing + "gcc-3.x (needed for qemu-native)," |
102 | else: | ||
103 | required_utilities = required_utilities + " qemu-arm" | ||
104 | |||
105 | for util in required_utilities.split(): | ||
106 | if not check_app_exists( util, e.data ): | ||
107 | missing = missing + "%s," % util | ||
105 | 108 | ||
106 | if missing != "": | 109 | if missing != "": |
107 | missing = missing.rstrip(',') | 110 | missing = missing.rstrip(',') |