summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-08-09 10:52:43 +0000
committerRichard Purdie <richard@openedhand.com>2007-08-09 10:52:43 +0000
commitb14c8cd294f4a9e96bad8e097a7eaae221a8e14e (patch)
tree7bb9649032d01da0faf53ee37f800b93e64efe41 /meta/classes
parent6e909eb80ea2c94b53c9bfbd3b7f56f26dadbc0d (diff)
downloadpoky-b14c8cd294f4a9e96bad8e097a7eaae221a8e14e.tar.gz
Switch back to using our own qemu binary for locale generation by default
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2424 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/sanity.bbclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 71dc26fa7d..2742dada7d 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -89,12 +89,18 @@ def check_sanity(e):
89 if not check_app_exists('${BUILD_PREFIX}g++', e.data): 89 if not check_app_exists('${BUILD_PREFIX}g++', e.data):
90 missing = missing + "C++ Compiler," 90 missing = missing + "C++ Compiler,"
91 91
92 required_utilities = "patch diffstat help2man texi2html cvs svn bzip2 tar gzip gawk makeinfo qemu-arm" 92 required_utilities = "patch diffstat help2man texi2html cvs svn bzip2 tar gzip gawk makeinfo"
93 93
94 for util in required_utilities.split(): 94 for util in required_utilities.split():
95 if not check_app_exists( util, e.data ): 95 if not check_app_exists( util, e.data ):
96 missing = missing + "%s," % util 96 missing = missing + "%s," % util
97 97
98 # qemu-native needs gcc 3.x
99 gcc_version = commands.getoutput("${BUILD_PREFIX}gcc --version | head -n 1 | cut -f 3 -d ' '")
100
101 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':
102 missing = missing + "gcc-3.x (needed for qemu-native),"
103
98 if missing != "": 104 if missing != "":
99 missing = missing.rstrip(',') 105 missing = missing.rstrip(',')
100 messages = messages + "Please install following missing utilities: %s\n" % missing 106 messages = messages + "Please install following missing utilities: %s\n" % missing