[oe-commits] Laurentiu Palcu : csl-versions.inc: instruct user to check local.conf
git at git.openembedded.org
git at git.openembedded.org
Tue Aug 13 12:06:19 UTC 2013
Module: openembedded-core.git
Branch: dylan
Commit: c3d71f0178212a4fe889bcc47e1d35327e858416
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c3d71f0178212a4fe889bcc47e1d35327e858416
Author: Laurentiu Palcu <laurentiu.palcu at intel.com>
Date: Fri Jul 26 15:31:27 2013 +0300
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)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu at intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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 e8f52d2..a01803c 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]
More information about the Openembedded-commits
mailing list