]> code.ossystems Code Review - openembedded-core.git/commitdiff
sanity.bbclass: remove ASSUME_PROVIDED checks that can't succeed
authorRoss Burton <ross.burton@intel.com>
Wed, 28 Jun 2017 14:38:36 +0000 (15:38 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Jul 2017 13:38:05 +0000 (14:38 +0100)
qemu-arm and libsdl-native are not in HOSTTOOLS, so there's no point in
checking that they're on PATH.

Also qemu uses pkg-config to find SDL, so libsdl-native isn't required.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/sanity.bbclass

index e8064ac483dc0d394747816849942e339e52016a..ea5f215ad3513999fefcd3e73f1392d3ce6edf2a 100644 (file)
@@ -657,14 +657,6 @@ def check_sanity_version_change(status, d):
     if "diffstat-native" not in assume_provided:
         status.addresult('Please use ASSUME_PROVIDED +=, not ASSUME_PROVIDED = in your local.conf\n')
 
-    if "qemu-native" in assume_provided:
-        if not check_app_exists("qemu-arm", d):
-            status.addresult("qemu-native was in ASSUME_PROVIDED but the QEMU binaries (qemu-arm) can't be found in PATH")
-
-    if "libsdl-native" in assume_provided:
-        if not check_app_exists("sdl-config", d):
-            status.addresult("libsdl-native is set to be ASSUME_PROVIDED but sdl-config can't be found in PATH. Please either install it, or configure qemu not to require sdl.")
-
     (result, message) = check_gcc_march(d)
     if result and message:
         status.addresult("Your gcc version is older than 4.5, please add the following param to local.conf\n \