tcmode-external-sourcery: don't break when not in a loop

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
Christopher Larson
2013-05-01 15:27:28 -07:00
parent e2075d4a78
commit 5d423c4509

View File

@@ -155,9 +155,8 @@ def populate_toolchain_links(d):
try:
os.symlink(ld, ld_bfd)
except OSError as exc:
if exc.errno == errno.EEXIST:
break
bb.fatal("Unable to populate toolchain binary symlink for %s: %s" % (ld_bfd, exc))
if exc.errno != errno.EEXIST:
bb.fatal("Unable to populate toolchain binary symlink for %s: %s" % (ld_bfd, exc))
require conf/distro/include/csl-versions.inc