diff options
author | Ross Burton <ross.burton@intel.com> | 2017-06-28 15:38:36 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-06 14:38:13 +0100 |
commit | 0efe636e397be65aa77edbd0eedf1191afe271ff (patch) | |
tree | 24ca1bbccd810724552f354bde91b340d413afbd /meta/classes/sanity.bbclass | |
parent | a4ada62a21d2bbb2a945dfbea19dec794303d42e (diff) | |
download | poky-0efe636e397be65aa77edbd0eedf1191afe271ff.tar.gz |
sanity.bbclass: remove ASSUME_PROVIDED checks that can't succeed
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.
(From OE-Core rev: a8d8b0d9e1c2346d5a314ed0a7bf5be66044a51d)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r-- | meta/classes/sanity.bbclass | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index e8064ac483..ea5f215ad3 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -657,14 +657,6 @@ def check_sanity_version_change(status, d): | |||
657 | if "diffstat-native" not in assume_provided: | 657 | if "diffstat-native" not in assume_provided: |
658 | status.addresult('Please use ASSUME_PROVIDED +=, not ASSUME_PROVIDED = in your local.conf\n') | 658 | status.addresult('Please use ASSUME_PROVIDED +=, not ASSUME_PROVIDED = in your local.conf\n') |
659 | 659 | ||
660 | if "qemu-native" in assume_provided: | ||
661 | if not check_app_exists("qemu-arm", d): | ||
662 | status.addresult("qemu-native was in ASSUME_PROVIDED but the QEMU binaries (qemu-arm) can't be found in PATH") | ||
663 | |||
664 | if "libsdl-native" in assume_provided: | ||
665 | if not check_app_exists("sdl-config", d): | ||
666 | 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.") | ||
667 | |||
668 | (result, message) = check_gcc_march(d) | 660 | (result, message) = check_gcc_march(d) |
669 | if result and message: | 661 | if result and message: |
670 | status.addresult("Your gcc version is older than 4.5, please add the following param to local.conf\n \ | 662 | status.addresult("Your gcc version is older than 4.5, please add the following param to local.conf\n \ |