diff options
Diffstat (limited to 'classes/sanity.bbclass')
-rw-r--r-- | classes/sanity.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/classes/sanity.bbclass b/classes/sanity.bbclass index f65df61c1d..7e087d8927 100644 --- a/classes/sanity.bbclass +++ b/classes/sanity.bbclass @@ -2,6 +2,8 @@ # Sanity check the users setup for common misconfigurations # +inherit qemu + def raise_sanity_error(msg): import bb bb.fatal(""" Openembedded's config sanity checker detected a potential misconfiguration. @@ -93,8 +95,7 @@ def check_sanity(e): 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" + required_utilities += " %s" % (qemu_target_binary(e.data)) if os.path.exists("/proc/sys/vm/mmap_min_addr"): f = file("/proc/sys/vm/mmap_min_addr", "r") |