From bc420731df98479561a25663fe68f8ed73c148d7 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Thu, 16 Jun 2022 20:42:06 +0500 Subject: [PATCH] tcmode: improve error when no compatible toolchain is found Signed-off-by: Christopher Larson --- conf/distro/include/tcmode-external-oe-sdk.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/distro/include/tcmode-external-oe-sdk.inc b/conf/distro/include/tcmode-external-oe-sdk.inc index c07b5c7..05594be 100644 --- a/conf/distro/include/tcmode-external-oe-sdk.inc +++ b/conf/distro/include/tcmode-external-oe-sdk.inc @@ -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):