On 30 Nov 2023, at 09:07, Hemraj, Deepthi via lists.openembedded.org 
<[email protected]> wrote:
> +    if echo "${TARGET_ARCH}" | grep -q "64"; then
> +        RUST_ENV_SETUP_SH="${ENV_SETUP_DIR}/rust.sh"
> +    else
> +        RUST_ENV_SETUP_SH="${ENV_SETUP_DIR}/rust-32.sh"
> +    fi

If you really must look at the host word size then inherit siteinfo and use 
SITEINFO_BITS.

However, the usual solution here is for multilib recipes to use ${MLPREFIX}.

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192279): 
https://lists.openembedded.org/g/openembedded-core/message/192279
Mute This Topic: https://lists.openembedded.org/mt/102890612/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to