Browse Source

tcmode-external-oe-sdk: fix the multiple candidate setup scripts error

This was causing a traceback, as the error handling wasn't updated when
the candidates were changed to a list of tuples.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Christopher Larson 3 years ago
parent
commit
3ede376df2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      conf/distro/include/tcmode-external-oe-sdk.inc

+ 1 - 1
conf/distro/include/tcmode-external-oe-sdk.inc

@@ -138,7 +138,7 @@ def get_setup_script_env(paths, d):
         if not candidates:
             setup = None
         elif len(candidates) > 1:
-            bb.fatal("tcmode-external-oe-sdk: multiple candidate setup scripts found, please specify with EXTERNAL_TOOLCHAIN_SETUP_SCRIPT: {}".format(" ".join(candidates)))
+            bb.fatal("tcmode-external-oe-sdk: multiple candidate setup scripts found, please specify with EXTERNAL_TOOLCHAIN_SETUP_SCRIPT: {}".format(" ".join(str(p) for p, e in candidates)))
         else:
             setup, env = candidates[0]
             bb.debug(1, "tcmode-external-oe-sdk: selected setup script {}".format(setup))