diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2013-07-26 15:31:27 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-31 06:59:57 +0100 |
commit | f2b19ad4ab484c57494fc577193bd99b0481bf7c (patch) | |
tree | c1aee4a4fe412c41b5ba4c6cb3685f82acf7827c | |
parent | 683f454bd25ddbf9ec3101d61cfae2b3e4f04d54 (diff) | |
download | poky-f2b19ad4ab484c57494fc577193bd99b0481bf7c.tar.gz |
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]
(From OE-Core rev: 0023188ec27404b8109ea92d7f7f23748aa62a46)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/distro/include/csl-versions.inc | 1 |
1 files changed, 1 insertions, 0 deletions
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): | |||
18 | stdout, stderr = csl_run(d, 'gcc', '-v') | 18 | stdout, stderr = csl_run(d, 'gcc', '-v') |
19 | except bb.process.CmdError as exc: | 19 | except bb.process.CmdError as exc: |
20 | bb.error('Failed to obtain CodeSourcery toolchain version: %s' % exc) | 20 | bb.error('Failed to obtain CodeSourcery toolchain version: %s' % exc) |
21 | bb.error('Make sure that MACHINE is set correctly in your local.conf and the toolchain supports %s.' % d.getVar("TARGET_ARCH", True)) | ||
21 | return 'UNKNOWN' | 22 | return 'UNKNOWN' |
22 | else: | 23 | else: |
23 | last_line = stderr.splitlines()[-1] | 24 | last_line = stderr.splitlines()[-1] |