summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-08-09 11:02:13 +0000
committerRichard Purdie <richard@openedhand.com>2007-08-09 11:02:13 +0000
commit6d5285742a7bd2be6ce2522b79af86be8359f7ed (patch)
tree53054ccf17a2a323402301840a5651ca82e76ad7 /meta/classes
parent043b8012bc554c965530c6d2db50b87e5769e43f (diff)
downloadpoky-6d5285742a7bd2be6ce2522b79af86be8359f7ed.tar.gz
sanity.bbclass: Further qemu check improvements
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2426 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/sanity.bbclass9
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(',')