From: João Marcos Costa Date: Tue, 23 Jun 2026 12:08:15 +0000 (+0200) Subject: llvm-project-source.inc: fix end of line in triple variable X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=959edc376b6eecd4e9d4b9dcb0cc2d8a2e220f92;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git llvm-project-source.inc: fix end of line in triple variable After the return statement, a "," is present while a ";" is expected. This leads to something like: ...return "x86_64-poky-linux", Fix this syntax error by replacing "," with a ";". Signed-off-by: João Marcos Costa Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/clang/llvm-project-source.inc b/meta/recipes-devtools/clang/llvm-project-source.inc index 6540d1cc7c..85b5ef06dc 100644 --- a/meta/recipes-devtools/clang/llvm-project-source.inc +++ b/meta/recipes-devtools/clang/llvm-project-source.inc @@ -71,7 +71,7 @@ python do_preconfigure() { distro_id = distro.split(":")[0].replace('-','_') distro_triple = distro.split(":")[1] case += '\\n .Case("' + distro_id + '", Distro::' + distro_id.upper() + ')' - triple += '\\n if (Distro.Is' + distro_id.upper() + '())\\n return "x86_64-' + distro_triple + '-linux",' + triple += '\\n if (Distro.Is' + distro_id.upper() + '())\\n return "x86_64-' + distro_triple + '-linux";' name += '\\n '+ distro_id.upper() + ',' check += '\\nbool Is' + distro_id.upper() + '() const { return DistroVal == ' + distro_id.upper() + '; }' oe_names += distro_id.upper() + ' ||'