From: Uladzimir Bely <ubely@ilbers.de>
To: srinuvasan.a@siemens.com, isar-users@googlegroups.com
Subject: Re: [PATCH] meta/classes/crossvars: use variable instead of getting value via d.getVar
Date: Mon, 27 Jan 2025 16:27:46 +0300 [thread overview]
Message-ID: <c21efc8bafb479a60ad431ef9b00e4e6b53665f1.camel@ilbers.de> (raw)
In-Reply-To: <20250117102737.259735-1-srinuvasan.a@siemens.com>
On Fri, 2025-01-17 at 15:57 +0530, srinuvasan.a@siemens.com wrote:
> From: Srinuvasan A <srinuvasan.a@siemens.com>
>
> 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 <srinuvasan.a@siemens.com>
> ---
> 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)
> }
Applied to next, thanks.
--
Best regards,
Uladzimir.
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/c21efc8bafb479a60ad431ef9b00e4e6b53665f1.camel%40ilbers.de.
prev parent reply other threads:[~2025-01-27 13:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-17 10:27 srinuvasan.a via isar-users
2025-01-17 11:10 ` 'Jan Kiszka' via isar-users
2025-01-27 13:27 ` Uladzimir Bely [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c21efc8bafb479a60ad431ef9b00e4e6b53665f1.camel@ilbers.de \
--to=ubely@ilbers.de \
--cc=isar-users@googlegroups.com \
--cc=srinuvasan.a@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox