[oe-commits] Peter Seebach : tcmode-external-csl.inc: specify the path you couldn't find

git at git.openembedded.org git at git.openembedded.org
Tue May 15 18:52:28 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 84d8b8846556cee191afb93016a2c38df8aaa7ba
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=84d8b8846556cee191afb93016a2c38df8aaa7ba

Author: Peter Seebach <peter.seebach at windriver.com>
Date:   Tue May 15 13:16:35 2012 -0500

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

Signed-off-by: Peter Seebach <peter.seebach at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/conf/distro/include/tcmode-external-csl.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/conf/distro/include/tcmode-external-csl.inc b/meta/conf/distro/include/tcmode-external-csl.inc
index 6bdd466..731780b 100644
--- a/meta/conf/distro/include/tcmode-external-csl.inc
+++ b/meta/conf/distro/include/tcmode-external-csl.inc
@@ -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)





More information about the Openembedded-commits mailing list