diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-02 21:08:34 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-10 17:12:19 +0100 |
commit | 333e5f70769569f7331bec6f213137c75cd8425d (patch) | |
tree | 5ebd7125fb1e3b8f8c7270aef3d1a119e501f2c5 | |
parent | a2fa51bddeb8c075797888455d66933bc821237b (diff) | |
download | poky-333e5f70769569f7331bec6f213137c75cd8425d.tar.gz |
sanity.bbclass: Add libsdl-native check
If libsdl-native is in ASSUME_PROVIDED, check for it in the sanity tests.
This warns the user if they've said its being provided but it isn't and
prevents silent build issues.
(From OE-Core rev: d9d7b0515fcf47c4cf7533a12915ea92298ce834)
(From OE-Core rev: b26e4596d56db4120a81a07268fd174e14240e2b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/sanity.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 989bdcd7cd..4b42b17145 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -550,6 +550,10 @@ def check_sanity_version_change(status, d): | |||
550 | if not check_app_exists("qemu-arm", d): | 550 | if not check_app_exists("qemu-arm", d): |
551 | status.addresult("qemu-native was in ASSUME_PROVIDED but the QEMU binaries (qemu-arm) can't be found in PATH") | 551 | status.addresult("qemu-native was in ASSUME_PROVIDED but the QEMU binaries (qemu-arm) can't be found in PATH") |
552 | 552 | ||
553 | if "libsdl-native" in assume_provided: | ||
554 | if not check_app_exists("sdl-config", d): | ||
555 | 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.") | ||
556 | |||
553 | (result, message) = check_gcc_march(d) | 557 | (result, message) = check_gcc_march(d) |
554 | if result and message: | 558 | if result and message: |
555 | status.addresult("Your gcc version is older than 4.5, please add the following param to local.conf\n \ | 559 | status.addresult("Your gcc version is older than 4.5, please add the following param to local.conf\n \ |