($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: d.sabato@4sigma.it
To: meta-arm@lists.yoctoproject.org
Subject: aarch64 external-toolchain multilib support
Date: Tue, 27 Feb 2024 09:51:47 -0800	[thread overview]
Message-ID: <llGR.1709056307395060423.8aZp@lists.yoctoproject.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1204 bytes --]

Hello,
I use pre-built external ARM toolchain to build iMx8 distro 64 bit.

TCMODE = "external-arm"
EXTERNAL_TOOLCHAIN = "/opt/arm-gnu-toolchain-13.2.Rel1-x86_64-aarch64-none-linux-gnu"

I'd like to generate 32bit version of libraries for my sysroot so I add following in my build/local.conf :

require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE:virtclass-multilib-lib32 = "armv7athf-neon"
IMAGE_INSTALL:append := " lib32-glibc lib32-libgcc lib32-libstdc++"

Am I doing right ?

Build Configuration:
BB_VERSION           = "2.4.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "debian-12"
TARGET_SYS           = "aarch64-oe-linux"
TUNE_FEATURES        = "aarch64 armv8a crc cortexa53 crypto"
TARGET_FPU           = ""
meta                 = "master:3c35416a8bff3a857004beadbd053d50eca30ce2"
meta-oe
meta-networking
meta-python
meta-filesystems     = "master:39968837196cb48209b71e8852dd04a2f8ccdca8"
meta-freescale       = "master:7f0a7f3d19f564da0faf20e279b1b18a7f0068b6"
meta-arm-toolchain
meta-arm             = "master:9bcc166bd5bb717aa86bb0464621a36abc51fa19"

Thank you,
Danilo

[-- Attachment #2: Type: text/html, Size: 1936 bytes --]

             reply	other threads:[~2024-02-27 17:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-27 17:51 d.sabato [this message]
2024-02-27 21:02 ` [meta-arm] aarch64 external-toolchain multilib support Denys Dmytriyenko

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=llGR.1709056307395060423.8aZp@lists.yoctoproject.org \
    --to=d.sabato@4sigma.it \
    --cc=meta-arm@lists.yoctoproject.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).