diff options
| -rw-r--r-- | meta/classes/sanity.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 83378b0573..6807a23152 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
| @@ -625,6 +625,11 @@ def check_sanity_everybuild(status, d): | |||
| 625 | if machinevalid: | 625 | if machinevalid: |
| 626 | status.addresult(check_toolchain(d)) | 626 | status.addresult(check_toolchain(d)) |
| 627 | 627 | ||
| 628 | # Check that the SDKMACHINE is valid, if it is set | ||
| 629 | if d.getVar('SDKMACHINE', True): | ||
| 630 | if not check_conf_exists("conf/machine-sdk/${SDKMACHINE}.conf", d): | ||
| 631 | status.addresult('Specified SDKMACHINE value is not valid\n') | ||
| 632 | |||
| 628 | check_supported_distro(d) | 633 | check_supported_distro(d) |
| 629 | 634 | ||
| 630 | # Check if DISPLAY is set if TEST_IMAGE is set | 635 | # Check if DISPLAY is set if TEST_IMAGE is set |
