]> code.ossystems Code Review - openembedded-core.git/commitdiff
tcmode-external-csl.inc: specify the path you couldn't find
authorPeter Seebach <peter.seebach@windriver.com>
Tue, 15 May 2012 18:16:35 +0000 (13:16 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 May 2012 18:37:48 +0000 (19:37 +0100)
While misconfiguring toolchains, I noticed that one of the
diagnostic messages gave me a little less information than I'd
like about what I'd done wrong.  Displaying the glob pattern
that couldn't be matched turns out to make it a lot easier to
figure out what you did wrong.  (Answer: Not enough coffee.)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/tcmode-external-csl.inc

index 6bdd4668e583996680ec24ac98d22246863b59db..731780b7d767e84890cfa2b53b6cdbb1ba3f16d0 100644 (file)
@@ -100,7 +100,7 @@ def populate_toolchain_links(d):
     pattern = d.expand('${EXTERNAL_TOOLCHAIN}/bin/${TARGET_PREFIX}*')
     files = glob(pattern)
     if not files:
-        bb.fatal("Unable to populate toolchain binary symlinks")
+        bb.fatal("Unable to populate toolchain binary symlinks in %s" % pattern)
 
     bindir = d.getVar('STAGING_BINDIR_TOOLCHAIN', True)
     bb.mkdirhier(bindir)