diff options
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r-- | meta/classes/sanity.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index cf514d0c23..69d6a246de 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -667,6 +667,8 @@ def check_sanity_everybuild(status, d): | |||
667 | if d.getVar('SDKMACHINE', True): | 667 | if d.getVar('SDKMACHINE', True): |
668 | if not check_conf_exists("conf/machine-sdk/${SDKMACHINE}.conf", d): | 668 | if not check_conf_exists("conf/machine-sdk/${SDKMACHINE}.conf", d): |
669 | status.addresult('Specified SDKMACHINE value is not valid\n') | 669 | status.addresult('Specified SDKMACHINE value is not valid\n') |
670 | elif d.getVar('SDK_ARCH', False) == "${BUILD_ARCH}": | ||
671 | status.addresult('SDKMACHINE is set, but SDK_ARCH has not been changed as a result - SDKMACHINE may have been set too late (e.g. in the distro configuration)\n') | ||
670 | 672 | ||
671 | check_supported_distro(d) | 673 | check_supported_distro(d) |
672 | 674 | ||