From patchwork Wed Jul 23 18:40:06 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Scott Murray X-Patchwork-Id: 67340 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 959F8C83F17 for ; Wed, 23 Jul 2025 18:40:38 +0000 (UTC) Received: from mail-qk1-f179.google.com (mail-qk1-f179.google.com [209.85.222.179]) by mx.groups.io with SMTP id smtpd.web10.22556.1753296037809759375 for ; Wed, 23 Jul 2025 11:40:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=UVCccB84; spf=pass (domain: konsulko.com, ip: 209.85.222.179, mailfrom: scott.murray@konsulko.com) Received: by mail-qk1-f179.google.com with SMTP id af79cd13be357-7e050bd078cso20894485a.3 for ; Wed, 23 Jul 2025 11:40:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1753296037; x=1753900837; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=b5FCzfo20k9vwR4BRIgNILtghJf2+lKEtKiWlGJxzmc=; b=UVCccB84xCnJSNTvmQdmlE6R1R+K9qpkPo9FzQWOIV3v6DZ5ytmkfFKN8QUPQjImfh pOB12bAmc+7YAxIBPUBR9n5Zjjav+LwE55YPmKpDsRIs71fmXDbgCQyTe+kuNiyhtzFb iNbMP+CNh2Sf4D3dyj7ARLcywP1IMGXhjacao= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753296037; x=1753900837; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-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YQmh9xoZWj3Rwfw+fx+9JdI/US26Xczpigq4QBN6cCjTl8gRpKL5QR0SRkH+aovMVWg== X-Received: by 2002:a05:620a:935b:b0:7df:dea8:6384 with SMTP id af79cd13be357-7e62a1bc975mr404390885a.47.1753296036610; Wed, 23 Jul 2025 11:40:36 -0700 (PDT) Received: from ghidorah.spiteful.org (107-179-213-3.cpe.teksavvy.com. [107.179.213.3]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7e356c77a1bsm697255985a.85.2025.07.23.11.40.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Jul 2025 11:40:36 -0700 (PDT) From: Scott Murray To: yocto-patches@lists.yoctoproject.org Subject: [meta-lts-mixins][scarthgap/rust][PATCH 06/13] rust: consolidate rust-llvm dependencies Date: Wed, 23 Jul 2025 14:40:06 -0400 Message-ID: <5d81ab70d9cfd78654cfb1b6bb9dcdfb0235d852.1753295655.git.scott.murray@konsulko.com> X-Mailer: git-send-email 2.50.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 23 Jul 2025 18:40:38 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1833 From: Ross Burton There's no need to have multiple overrides for this, as BBCLASSEXTEND will automatically map the dependencies as needed. Signed-off-by: Ross Burton Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie (adapted from oe-core commit ffa699332551fbbb95a0e388385667dc2706da6a) Signed-off-by: Scott Murray --- recipes-devtools/rust/rust_1.85.1.bb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/recipes-devtools/rust/rust_1.85.1.bb b/recipes-devtools/rust/rust_1.85.1.bb index 90c6d5f..085fd3f 100644 --- a/recipes-devtools/rust/rust_1.85.1.bb +++ b/recipes-devtools/rust/rust_1.85.1.bb @@ -7,17 +7,12 @@ LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=9c0fae516fe8aaea2fb601db4800daf7" inherit rust inherit cargo_common -DEPENDS += "file-native" -DEPENDS:append:class-native = " rust-llvm-native" -DEPENDS:append:class-nativesdk = " nativesdk-rust-llvm" - +DEPENDS += "file-native rust-llvm" # native rust uses cargo/rustc from binary snapshots to bootstrap # but everything else should use our native builds DEPENDS:append:class-target = " cargo-native rust-native" DEPENDS:append:class-nativesdk = " cargo-native rust-native" -DEPENDS += "rust-llvm (=${PV})" - RDEPENDS:${PN}:append:class-target = " gcc g++ binutils" # Otherwise we'll depend on what we provide