diff options
author | Richard Purdie <richard@openedhand.com> | 2007-08-09 11:02:13 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-08-09 11:02:13 +0000 |
commit | 6d5285742a7bd2be6ce2522b79af86be8359f7ed (patch) | |
tree | 53054ccf17a2a323402301840a5651ca82e76ad7 | |
parent | 043b8012bc554c965530c6d2db50b87e5769e43f (diff) | |
download | openembedded-core-6d5285742a7bd2be6ce2522b79af86be8359f7ed.tar.gz openembedded-core-6d5285742a7bd2be6ce2522b79af86be8359f7ed.tar.bz2 openembedded-core-6d5285742a7bd2be6ce2522b79af86be8359f7ed.zip |
sanity.bbclass: Further qemu check improvements
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2426 311d38ba-8fff-0310-9ca6-ca027cbcb966
-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): required_utilities = "patch diffstat help2man texi2html cvs svn bzip2 tar gzip gawk makeinfo" - for util in required_utilities.split(): - if not check_app_exists( util, e.data ): - missing = missing + "%s," % util # qemu-native needs gcc 3.x if "qemu-native" not in assume_provided: @@ -102,6 +99,12 @@ def check_sanity(e): 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': missing = missing + "gcc-3.x (needed for qemu-native)," + else: + required_utilities = required_utilities + " qemu-arm" + + for util in required_utilities.split(): + if not check_app_exists( util, e.data ): + missing = missing + "%s," % util if missing != "": missing = missing.rstrip(',') |