On Thu, 24 Feb 2022 at 15:03, Alexander Kanavin <alex.kana...@gmail.com> wrote:
> Almost everywhere those are the same, except when making a cross toolchain
> where HOST_ is where it's going to run, and TARGET_ is what it's going to
> produce.
>
> Signed-off-by: Alexander Kanavin <a...@linutronix.de>
> ---
>  meta/classes/insane.bbclass | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
> index 4fc3c06c64..890e865a8f 100644
> --- a/meta/classes/insane.bbclass
> +++ b/meta/classes/insane.bbclass
> @@ -325,8 +325,8 @@ def package_qa_check_arch(path,name,d, elf, messages):
>      if not elf:
>          return
>
> -    target_os   = d.getVar('TARGET_OS')
> -    target_arch = d.getVar('TARGET_ARCH')
> +    target_os   = d.getVar('HOST_OS')
> +    target_arch = d.getVar('HOST_ARCH')
>      provides = d.getVar('PROVIDES')
>      bpn = d.getVar('BPN')

Interestingly I was just looking at this code.  Does this change mean
we can remove the skipping of nativesdk recipes in the arch check?

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#162397): 
https://lists.openembedded.org/g/openembedded-core/message/162397
Mute This Topic: https://lists.openembedded.org/mt/89366545/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to