Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] csl-versions.inc: instruct user to check local.conf
@ 2013-07-26 12:31 Laurentiu Palcu
  2013-07-26 12:31 ` [PATCH 1/1] " Laurentiu Palcu
  0 siblings, 1 reply; 2+ messages in thread
From: Laurentiu Palcu @ 2013-07-26 12:31 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 67864ca79da08df752487a3a4e1a975546da123d:

  systemd: Remove systemd_unitdir if systemd is not in distro features (2013-07-24 11:35:39 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib lpalcu/b4901_warning_external_toolchain
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/b4901_warning_external_toolchain

Laurentiu Palcu (1):
  csl-versions.inc: instruct user to check local.conf

 meta/conf/distro/include/csl-versions.inc |    1 +
 1 file changed, 1 insertion(+)

-- 
1.7.9.5



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] csl-versions.inc: instruct user to check local.conf
  2013-07-26 12:31 [PATCH 0/1] csl-versions.inc: instruct user to check local.conf Laurentiu Palcu
@ 2013-07-26 12:31 ` Laurentiu Palcu
  0 siblings, 0 replies; 2+ messages in thread
From: Laurentiu Palcu @ 2013-07-26 12:31 UTC (permalink / raw)
  To: openembedded-core

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 <laurentiu.palcu@intel.com>
---
 meta/conf/distro/include/csl-versions.inc |    1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/conf/distro/include/csl-versions.inc b/meta/conf/distro/include/csl-versions.inc
index f3b491c..3938bf7 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]
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-26 12:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-26 12:31 [PATCH 0/1] csl-versions.inc: instruct user to check local.conf Laurentiu Palcu
2013-07-26 12:31 ` [PATCH 1/1] " Laurentiu Palcu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox