From patchwork Mon Jun 22 13:20:19 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Jo=C3=A3o_Marcos_Costa?= X-Patchwork-Id: 90639 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA00ECDB470 for ; Mon, 22 Jun 2026 13:21:14 +0000 (UTC) Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.42674.1782134469445826897 for ; Mon, 22 Jun 2026 06:21:09 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@bootlin.com header.s=dkim header.b=XwPhHsIQ; spf=pass (domain: bootlin.com, ip: 185.246.85.4, mailfrom: joaomarcos.costa@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 3F2D44E405F3 for ; Mon, 22 Jun 2026 13:21:07 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 13C66601BB; Mon, 22 Jun 2026 13:21:07 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id D9382106C8ACF; Mon, 22 Jun 2026 15:21:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1782134466; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=eYdJYYlf/1qtqbxZPxTCPpaBQKNYOwV+rYJeTxo5tto=; b=XwPhHsIQkc5NOgEzwHTKxtOpoOUEhsguQjELqMtOiXBgBUtxQW4ov5NFhL7qPiaY7Lvv4z 8vaV3afso+W6Rt32LIN7zB9kxU1j0GJEKB9TFjC3iNyUTIr/AUFw9HFFfasvOBxccnD+Ve 3zPS3jQuPEALno9qzvkX7/TdsZbC6FOnCNhyVVUxD0nBRsWjjSr8XbVDLYthZnsYA1Q3rD D+oiMzmR4t8tcW77hrC4oUog5gjdl39ktDJzHnIb7kjw5HsLLEu7tdpHF5YFilNWIO0eMQ DtAksEIi7iOa/Are+e/LCltO69riUv6GimGa+oozc7AlbteDk/XvPbt4QyqloA== From: =?utf-8?q?Jo=C3=A3o_Marcos_Costa?= To: openembedded-core@lists.openembedded.org Cc: thomas.petazzoni@bootlin.com, raj.khem@gmail.com, =?utf-8?q?Jo=C3=A3o_Ma?= =?utf-8?q?rcos_Costa?= Subject: [PATCH 2/4] llvm-project-source.inc: fix end of line in triple variable Date: Mon, 22 Jun 2026 15:20:19 +0200 Message-ID: <20260622132021.37598-3-joaomarcos.costa@bootlin.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20260622132021.37598-1-joaomarcos.costa@bootlin.com> References: <20260622132021.37598-1-joaomarcos.costa@bootlin.com> MIME-Version: 1.0 X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 22 Jun 2026 13:21:14 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239292 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 --- meta/recipes-devtools/clang/llvm-project-source.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() + ' ||'