summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-02 21:08:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-03 16:49:19 +0100
commit5f45b006046b3685a1141f9dd4f576fd2af6395b (patch)
tree7901148ecc7e4b554b63c9181e6ccad9ef8c9290 /meta
parent5c8effaa72ec9e6d8768ba5c2ac0541d74405ecc (diff)
downloadpoky-5f45b006046b3685a1141f9dd4f576fd2af6395b.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) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/sanity.bbclass4
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 \