Openembedded Core Discussions
 help / color / mirror / Atom feed
From: ChenQi <Qi.Chen@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/1] toolchain-script: use immediate expansion for TOOLCHAIN_CONFIGSITE_NOCACHE
Date: Tue, 15 Mar 2016 14:53:00 +0800	[thread overview]
Message-ID: <56E7B14C.2080407@windriver.com> (raw)
In-Reply-To: <f8f5893dae8e77dc271ecf1cd5d98f44adb75bf2.1446191361.git.Qi.Chen@windriver.com>

ping

On 10/30/2015 03:50 PM, Chen Qi wrote:
> Use immediate expansion for the assignment to avoid other classes modifying
> variables like HOST_ARCH which changes the result. This happens in the
> meta-environment recipe. It inherits cross-canadian which changes HOST_ARCH
> from TARGET_ARCH to SDK_ARCH, resulting in wrong site config files in the
> generated SDK.
>
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
>   meta/classes/toolchain-scripts.bbclass | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes/toolchain-scripts.bbclass b/meta/classes/toolchain-scripts.bbclass
> index d0b2b91..4427369 100644
> --- a/meta/classes/toolchain-scripts.bbclass
> +++ b/meta/classes/toolchain-scripts.bbclass
> @@ -98,7 +98,7 @@ EOF
>   }
>   
>   #we get the cached site config in the runtime
> -TOOLCHAIN_CONFIGSITE_NOCACHE = "${@siteinfo_get_files(d, True)}"
> +TOOLCHAIN_CONFIGSITE_NOCACHE := "${@siteinfo_get_files(d, True)}"
>   TOOLCHAIN_CONFIGSITE_SYSROOTCACHE = "${STAGING_DIR}/${MLPREFIX}${MACHINE}/${target_datadir}/${TARGET_SYS}_config_site.d"
>   TOOLCHAIN_NEED_CONFIGSITE_CACHE ??= "virtual/${MLPREFIX}libc ncurses"
>   



  reply	other threads:[~2016-03-15  6:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-30  7:50 [PATCH 0/1] toolchain-script: use immediate expansion for TOOLCHAIN_CONFIGSITE_NOCACHE Chen Qi
2015-10-30  7:50 ` [PATCH 1/1] " Chen Qi
2016-03-15  6:53   ` ChenQi [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-09-23  8:30 [PATCH 0/1] " Chen Qi
2016-09-23  8:30 ` [PATCH 1/1] " Chen Qi
2016-09-23 14:37   ` Richard Purdie
2016-09-26  3:20     ` ChenQi

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=56E7B14C.2080407@windriver.com \
    --to=qi.chen@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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