tcmode-external-csl.inc: specify the path you couldn't find

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.)

(From OE-Core rev: 84d8b8846556cee191afb93016a2c38df8aaa7ba)

Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Peter Seebach 2012-05-15 13:16:35 -05:00 committed by Richard Purdie
parent fd4516c2bf
commit 9f930c5852
1 changed files with 1 additions and 1 deletions

View 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)