All of
 help / color / mirror / Atom feed
Subject: Install SDK with yocto
Date: Wed, 28 Jul 2021 14:12:53 -0700	[thread overview]
Message-ID: <> (raw)

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

I am new to yocto and have some problems by installing a SDK with yocto for AArch64.
The SDK you can find here:

It comes with a debian package and a tar.gz file.
The tar is like this:

*Question 1: What is the best way to install this with yocto ?*

*1. I tried to install the deb package like this with no success:*

DEPENDS += " dpkg-native "

SRC_URI += " \
file:// \

do_install_append() {
touch ${STAGING_DIR_NATIVE}/var/lib/dpkg/status
${STAGING_BINDIR_NATIVE}/dpkg --instdir=${D}/ \
--admindir=${STAGING_DIR_NATIVE}/var/lib/dpkg/ \
-i ${WORKDIR}/baumer-gapi-sdk-linux-v2.11.0-gcc-5.4-aarch64.deb
*Question 2: Is this a good way with dpkg, when host and target architecture are different ?*

*2. I tried to install the tar.gz file like this also with no sucess:*

# Use local tarball
SRC_URI = "file://${BP}.tar.gz"

S = "${WORKDIR}"

inherit bin_package

#For Error: libraries are added by mutiple providers

#For Warning: was already stripped (precompiled sources)
INSANE_SKIP_${PN} = "ldflags"

do_install() {
cp -r "${WORKDIR}/include ${D}/include
The way I thought here, is to extract and copy each file to the target inside do_install..

*It would be very helpful when you could give me some hints for the best way to installing this package*

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

             reply	other threads:[~2021-07-28 21:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-28 21:12 daniel_herrmann22 [this message]
2021-07-29 13:13 ` [yocto] " Robert Berger

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \
    --subject='Re: Install SDK with yocto' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.