summaryrefslogtreecommitdiff
path: root/meta/classes/sanity.bbclass
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2011-07-14 16:24:51 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-19 17:33:57 +0100
commitec5c68e9368111bd51c1cfd6a9a135c53b82ceca (patch)
treec5c50ac5a7df49c986ccd03c6a89eb0acbaf6b6a /meta/classes/sanity.bbclass
parent7fecde55acf730f07009d8b040e92f931d5ebd88 (diff)
downloadopenembedded-core-ec5c68e9368111bd51c1cfd6a9a135c53b82ceca.tar.gz
openembedded-core-ec5c68e9368111bd51c1cfd6a9a135c53b82ceca.tar.bz2
openembedded-core-ec5c68e9368111bd51c1cfd6a9a135c53b82ceca.zip
sanity, base: remove gcc3 check since qemu doesn't need it any more
Recent versions of qemu seem to be happy enough building with gcc 4.x, and indeed most modern distributions aren't shipping gcc3 any more, so there is no point checking for its presence as part of sanity. Also remove the check_gcc3 function from base since nothing else uses it. Signed-off-by: Phil Blundell <philb@gnu.org>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r--meta/classes/sanity.bbclass8
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index c9d37c9d88..716b15864e 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -211,14 +211,6 @@ def check_sanity(e):
required_utilities = "patch help2man diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk hg chrpath wget cpio"
- # qemu-native needs gcc 3.x
- if "qemu-native" not in assume_provided and "gcc3-native" in assume_provided:
- gcc_version = commands.getoutput("${BUILD_PREFIX}gcc --version | head -n 1 | cut -f 3 -d ' '")
-
- if not check_gcc3(e.data) and gcc_version[0] != '3':
- messages = messages + "gcc3-native was in ASSUME_PROVIDED but the gcc-3.x binary can't be found in PATH"
- missing = missing + "gcc-3.x (needed for qemu-native),"
-
if "qemu-native" in assume_provided:
if not check_app_exists("qemu-arm", e.data):
messages = messages + "qemu-native was in ASSUME_PROVIDED but the QEMU binaries (qemu-arm) can't be found in PATH"