Yocto Project Discussions
 help / color / mirror / Atom feed
* Get target machine
@ 2022-12-01 12:55 Iggy
  2022-12-01 16:02 ` [yocto] " Quentin Schulz
  0 siblings, 1 reply; 4+ messages in thread
From: Iggy @ 2022-12-01 12:55 UTC (permalink / raw)
  To: yocto

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-12-02  9:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-01 12:55 Get target machine Iggy
2022-12-01 16:02 ` [yocto] " Quentin Schulz
     [not found]   ` <6562.1669946313565125249@lists.yoctoproject.org>
2022-12-02  8:45     ` Private: " Quentin Schulz
2022-12-02  9:03       ` Iggy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox