From 51fd745b362be5d2cd7bdd36b798e1b05aea8803 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 7 Feb 2008 10:23:08 +0000 Subject: sanity.bbclass: Fix qemu check git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3694 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/classes/sanity.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/classes/sanity.bbclass') diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 46bc7c66b6..d3f0104f85 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -93,8 +93,8 @@ def check_sanity(e): missing = missing + "gcc-3.x (needed for qemu-native)," 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" + 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" for util in required_utilities.split(): if not check_app_exists( util, e.data ): -- cgit v1.2.3