sanity.bbclass: Further qemu check improvements

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2426 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie 2007-08-09 11:02:13 +00:00
parent 043b8012bc
commit 6d5285742a
1 changed files with 6 additions and 3 deletions

View File

@ -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(',')