Yocto Project Discussions
 help / color / mirror / Atom feed
From: "Iggy" <j.ignatius@yahoo.co.uk>
To: yocto@lists.yoctoproject.org
Subject: Get target machine
Date: Thu, 01 Dec 2022 04:55:25 -0800	[thread overview]
Message-ID: <wvJS.1669899325904673732.ekuV@lists.yoctoproject.org> (raw)

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

Hi,

I have a .inc file that contains this information:

# Set the MACHINE string, expected to eventually replace the long list of
# build settings below
EXTRA_OECMAKE += "-DRDK_MACHINE=${@d.getVar('MACHINE', False)} "

# Set the region and platform type (defaults to Xi6 and UK)
EXTRA_OECMAKE_append_xione-uk = " -DRDK_PLATFORM=XI1 -DREGION=UK "
EXTRA_OECMAKE_append_xione-us = " -DRDK_PLATFORM=XI1 -DREGION=UK "

EXTRA_OECMAKE_append_llama-uk = " -DRDK_PLATFORM=LLAMA -DREGION=UK "
EXTRA_OECMAKE_append_llama-us = " -DRDK_PLATFORM=LLAMA -DREGION=UK "

I understand that the append lines add extra parameters to the make call. How does Yocto know which platform to use? I mean how does it choose xione-uk or llama-us for instance?

Plus is there a variable that captures the target name, i.e. "xione-uk", "xione-us", etc?

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

             reply	other threads:[~2022-12-01 12:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-01 12:55 Iggy [this message]
2022-12-01 16:02 ` [yocto] Get target machine Quentin Schulz
     [not found]   ` <6562.1669946313565125249@lists.yoctoproject.org>
2022-12-02  8:45     ` Private: " Quentin Schulz
2022-12-02  9:03       ` Iggy

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=wvJS.1669899325904673732.ekuV@lists.yoctoproject.org \
    --to=j.ignatius@yahoo.co.uk \
    --cc=yocto@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