From patchwork Fri Jan 17 10:27:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "srinuvasan.a" X-Patchwork-Id: 4007 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Fri, 17 Jan 2025 11:28:04 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-wm1-f60.google.com (mail-wm1-f60.google.com [209.85.128.60]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 50HAS3Tw005119 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 17 Jan 2025 11:28:03 +0100 Received: by mail-wm1-f60.google.com with SMTP id 5b1f17b1804b1-4361eb83f46sf13633315e9.3 for ; Fri, 17 Jan 2025 02:28:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1737109678; cv=pass; d=google.com; s=arc-20240605; b=cs44TWVOxLed44OmL8HUtoAHS2uN1DdWJFc9c4Hj2uKPBOpN7zO1ujMoGBggzZP13r s6A6iKkd44U91CwdwGpMFr3S8cTE8Jt007djwtf2bkHwj94FwgFFAz7JTeU9SSTCSShF dFgUWDn70e/l4dXIkXZgKfA9dIxL/Wuk7QdBwZQWSJsAN/MCCDKP157qNuLOU08RCGyG K7pEuOXPfQmWMZ23S74Ng3S4HRJayHr0KS4ju0UMluNIFYF//Hw4f/z1RKceK6C1CRok YkKAIxZ0JAodm0R8eeFyVqaMPoynCl4kAmyA00AYK9EPnVNK2u3kM4VsKLdTKaSYBnEW a7BQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:feedback-id:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=A6cH9JtkBVpYst3ibkiI87itTdet8uCLjq5QoNBSFW4=; fh=JCryRn6HaqIsMbHWl5N51/8yKxq9jpsJU9U+ybjpwkU=; b=PzzERrqExDjAao4YFyNVYpFflHM2uF1s5gg+X/m1uwW7PgSbUm1qJKgTs4wUQibnCo EnpjativaHnTha5Kfr8TYwbfGnvD7J67oSXaMRPM86fBSsjSp9LcwehcAmAe5lm1gDu4 eccw4lmdIQObZt85Sl0GRZQjralQE4mjiILy3dnM0MHHd8s08OAPFJzxuaUDdRFt9LBw Z4Jsr6Zfg6wfec5v4WeVcebJoF32CM5g0si7FCYOeIHl8c6Q6bKl8hXX0ypMG8pidA67 Jdq9RDZuABIXoPd1HaddCMqaBiMGA/8oYrQs2A7DBgplQQ6xFHmycTzLdkRurGTAC9wg VXpA==; darn=isar-build.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=X++XwT7o; spf=pass (google.com: domain of fm-1324425-20250117102754436cac5befb324c2f3-n6a0mo@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1324425-20250117102754436cac5befb324c2f3-N6a0mo@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1737109678; x=1737714478; darn=isar-build.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=A6cH9JtkBVpYst3ibkiI87itTdet8uCLjq5QoNBSFW4=; b=gsbhE73eu08oWEpUSNucRKlgeVdPoLn8dFezohMhMq8F3i0VzMYl5+9veEAR2vop1U 7Q9gU0fK93hsEa59ZU3Ta1MDUDjTo9ZemDKlIYXiSmHzMnBQ077Ky5WKEonqWaF7fF5X FqhuxfbuLcU2xAhwWLSNhjdLCDtAnHmmStPDIMA6ZfM6j97cqPsFP9y+D1DNtvCM9SiO AXc4Ru2y+eqh2Q5Yi6akdtjtT4FF5rNNpqThwpvLYxNCsd1yrNdTGt6BLBEh50Wg41bG 5D1ylHLFjv8ZIm6w+/AavKvn3IA2w5SVLly/QpCSdn3qLzhARyOMm9fJyXfQkCU2jZt1 Gi+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737109678; x=1737714478; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:message-id:date:subject:cc:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=A6cH9JtkBVpYst3ibkiI87itTdet8uCLjq5QoNBSFW4=; b=lCwSYrZPjyxrPEpLRCV9YYUheIhmz2rXfT/Q8NVopItRYkMCVdh8TyeS80JBiyT6g0 3nxGGMR73b51Ozw5bDTMw1LsnchaODiDBQ2UJA3jWsEG9oH/+w+ph1K/i1t+Qz0DzQrn iGpf60a8rfghxkhBVW8o7NXCyDIE223vt2PsScWvhWrQsEc3QBP87QpV9SGBBn/k2fD9 /jB/ApchTFxx4doLaEIyU3fy2YLaSdYEFRFmUOO6h+oWWuW/1ijPPTLda8ROZmUV8m06 /jin+fJQNdtmbYGSBQP7DB0Oq7p8Lgy7hf1HIQEv53GElhfI2oLIDx+I9pNYJ/cz6LIV ooGg== X-Forwarded-Encrypted: i=2; AJvYcCV2c1ZkIqZhuaFKuvUciC04qQSBJL91wP0nc9Dpddhq4gPXCsVqPIcNlHZD2wHoQxCyPoTYcPg=@isar-build.org X-Gm-Message-State: AOJu0YzXr9YQM6tQy/O5C5MNicVByjky99YQC5U10ArhRPSwYLgwpDij 5HVM/r0/VA70HD7Wu2sW1f/mD9sEstWvZneMhz35Wq5ZyiFoDhCY X-Google-Smtp-Source: AGHT+IGXi9s5HpvRS4jS2js6/zPQ1QUChaUTk4RECSHBvVoIreZszXvDATSZULU+DoJc/njQWU9aAg== X-Received: by 2002:a05:6000:188c:b0:38a:8d32:2741 with SMTP id ffacd0b85a97d-38bf5784a95mr1721386f8f.19.1737109676761; Fri, 17 Jan 2025 02:27:56 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:ab13:0:b0:386:2c32:3c33 with SMTP id ffacd0b85a97d-38bead0fc61ls848573f8f.0.-pod-prod-02-eu; Fri, 17 Jan 2025 02:27:55 -0800 (PST) X-Received: by 2002:a5d:64a1:0:b0:385:de8d:c0f5 with SMTP id ffacd0b85a97d-38bf577ffacmr2250211f8f.16.1737109674695; Fri, 17 Jan 2025 02:27:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1737109674; cv=none; d=google.com; s=arc-20240605; b=RlBPCKJ5ioF/fAmGm9R8fPMmdTgvWIFEG6a+YRt+pJo6KmDOUfSHZqbPY6+oSS4Rno rinoqy2tqiYnOaL1FhN5tLo5dnWHNjc5lkZkmDTKu36RR7x/bOvB3GKc+P4dR6NM4stk oFTHZglud/B5/xrPbe44Shs7riKsbESs7IaNBk8XLC5z8oGdgsgWiTZbDIVghFXcbVjf f/yUgbwyJZR/IP59f388envcTDVYgaV4CUDK+5iMR9kHD+ieSWW4xe/tmGvsTrvCxP9J eSWeBnjzPdQW3TLLvW3yiuB8gSVuSMVHNt2NEyteENH/Tk3GB25Gsa2shl8SWOQPFU4y yZvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=feedback-id:content-transfer-encoding:mime-version:message-id:date :subject:cc:to:from:dkim-signature; bh=ZUrqKtrfbRMiz753puG16jyQqpRz08cIMIZyivA1v8M=; fh=xn6duDNmfWhT4wMQ9vfjynwp0yXXw9CW97AC2kimJN0=; b=h3cS9wywAmisOGyBc+n4mAGaNo8o0tSdhw/X8cChK6mN3mA58onyZw/RcYpFXfmS7S qIKESof+pzaDvoX9RJWFyhxYOBOVi/HIXqPzESmPDVePGysV9O5uVWx/9xDNPfrgi/H1 5EERvOtVz9AlWSJRoBS3S7YJ9WkesDD3RDAqXXxKrpszx5hmeTbLq8rbB5PITwATJLdx sb/UuFZU2bmE3qwiTXPe4yVm+/NqgJBewzwA8qk5nU8mHbuKjNUxTOyw5aZiS3Yi7tsT vtZimNxw5cr6CkozQ4FUKEoZXfqtct+adhmw6LwVr3UJJPF7qJ4NjsbDFRVUNZys5lPW aKYg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=X++XwT7o; spf=pass (google.com: domain of fm-1324425-20250117102754436cac5befb324c2f3-n6a0mo@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1324425-20250117102754436cac5befb324c2f3-N6a0mo@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-65-227.siemens.flowmailer.net (mta-65-227.siemens.flowmailer.net. [185.136.65.227]) by gmr-mx.google.com with ESMTPS id ffacd0b85a97d-38bf3266300si27176f8f.5.2025.01.17.02.27.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Jan 2025 02:27:54 -0800 (PST) Received-SPF: pass (google.com: domain of fm-1324425-20250117102754436cac5befb324c2f3-n6a0mo@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) client-ip=185.136.65.227; Received: by mta-65-227.siemens.flowmailer.net with ESMTPSA id 20250117102754436cac5befb324c2f3 for ; Fri, 17 Jan 2025 11:27:54 +0100 X-Patchwork-Original-From: "srinuvasan.a via isar-users" From: "srinuvasan.a" To: isar-users@googlegroups.com Cc: ubely@ilbers.de, Srinuvasan A Subject: [PATCH] meta/classes/crossvars: use variable instead of getting value via d.getVar Date: Fri, 17 Jan 2025 15:57:37 +0530 Message-Id: <20250117102737.259735-1-srinuvasan.a@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-1324425:519-21489:flowmailer X-Original-Sender: srinuvasan.a@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=X++XwT7o; spf=pass (google.com: domain of fm-1324425-20250117102754436cac5befb324c2f3-n6a0mo@rts-flowmailer.siemens.com designates 185.136.65.227 as permitted sender) smtp.mailfrom=fm-1324425-20250117102754436cac5befb324c2f3-N6a0mo@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: srinuvasan.a@siemens.com Reply-To: srinuvasan.a@siemens.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-4.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,RCVD_IN_RP_CERTIFIED, RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= From: Srinuvasan A Already we are getting COMPAT_DISTRO_ARCH value in compat_arch variable, try to use the variable wherever it is applicable. Signed-off-by: Srinuvasan A Reviewed-by: Jan Kiszka --- meta/classes/crossvars.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/crossvars.bbclass b/meta/classes/crossvars.bbclass index 1a88d457..0a135a91 100644 --- a/meta/classes/crossvars.bbclass +++ b/meta/classes/crossvars.bbclass @@ -38,6 +38,6 @@ python __anonymous() { d.setVar('SCHROOT_DIR', schroot_dir + flavor_suffix) d.setVar('SCHROOT_DEP', sbuild_dep) if isar_can_build_compat(d): - sdk_toolchain += " crossbuild-essential-" + d.getVar('COMPAT_DISTRO_ARCH') + sdk_toolchain += " crossbuild-essential-" + compat_arch d.setVar('SDK_TOOLCHAIN', sdk_toolchain) }