From 48f8cda2c3248d57e6661092a22c3e335b6355d0 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 5 Feb 2008 17:27:12 +0000 Subject: Rename gcc-native3 -> gcc3-native for consistency and update sanity.bbclass to account for gcc3 changes git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3670 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/classes/sanity.bbclass | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'meta/classes') diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 85a38ba285..46bc7c66b6 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -85,12 +85,15 @@ def check_sanity(e): required_utilities = "patch help2man diffstat texi2html makeinfo cvs svn bzip2 tar gzip gawk md5sum" # qemu-native needs gcc 3.x - if "qemu-native" not in assume_provided: + 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)," - else: + + if "qemu-native" in assume_provided: + messages = messages + "qemu-native was in ASSUME_PROVIDED but the QEMU binaries can't be found in PATH" required_utilities = required_utilities + " qemu-arm" for util in required_utilities.split(): -- cgit v1.2.3