mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-06-21 08:52:27 +02:00
tcmode: improve error when no compatible toolchain is found
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
@@ -150,7 +150,7 @@ def get_setup_script_env(paths, d):
|
||||
bb.debug(1, "tcmode-external-oe-sdk: selected setup script {}".format(setup))
|
||||
|
||||
if not setup:
|
||||
bb.fatal('tcmode-external-oe-sdk: failed to determine setup script path for sdk, please set EXTERNAL_TOOLCHAIN_SETUP_SCRIPT to the full path to the environment setup script.')
|
||||
bb.fatal("tcmode-external-oe-sdk: no compatible toolchain for tuning `{}` found in TOOLCHAIN_PATHS ({})".format(d.getVar("TUNE_PKGARCH"), ", ".join(str(p) for p in paths)))
|
||||
return setup, env
|
||||
|
||||
def setup_get(setup, field):
|
||||
|
||||
Reference in New Issue
Block a user