From: Laurentiu Palcu Date: Fri, 26 Jul 2013 12:31:27 +0000 (+0300) Subject: csl-versions.inc: instruct user to check local.conf X-Git-Tag: 2015-4~5691 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=0023188ec27404b8109ea92d7f7f23748aa62a46;p=openembedded-core.git csl-versions.inc: instruct user to check local.conf In case the compiler version cannot be extracted instruct user to check that the toolchain supports MACHINE's architecture and that the latter is set correctly in local.conf. [YOCTO #4901] Signed-off-by: Laurentiu Palcu Signed-off-by: Saul Wold --- diff --git a/meta/conf/distro/include/csl-versions.inc b/meta/conf/distro/include/csl-versions.inc index f3b491cb16..3938bf7ed2 100644 --- a/meta/conf/distro/include/csl-versions.inc +++ b/meta/conf/distro/include/csl-versions.inc @@ -18,6 +18,7 @@ def csl_get_version(d): stdout, stderr = csl_run(d, 'gcc', '-v') except bb.process.CmdError as exc: bb.error('Failed to obtain CodeSourcery toolchain version: %s' % exc) + bb.error('Make sure that MACHINE is set correctly in your local.conf and the toolchain supports %s.' % d.getVar("TARGET_ARCH", True)) return 'UNKNOWN' else: last_line = stderr.splitlines()[-1]