mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-04 16:10:04 +00:00
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>
This commit is contained in:
parent
9faeea2cfc
commit
7a1eba6304
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user