diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2013-07-26 15:31:27 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-12 13:14:20 +0100 |
commit | 7a1eba6304dd8f27c12ae73a4dddbe9f41b9192a (patch) | |
tree | 4e6e6dbfd38f13e535a2384e20adac22b41ed288 | |
parent | 9faeea2cfcae4bf34b7e3374afd47e87ead160cc (diff) | |
download | poky-7a1eba6304dd8f27c12ae73a4dddbe9f41b9192a.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 master rev: 0023188ec27404b8109ea92d7f7f23748aa62a46)
(From OE-Core rev: c3d71f0178212a4fe889bcc47e1d35327e858416)
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 e8f52d272d..a01803c10d 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] |