Thread View: org.yoctoproject.lists.poky
1 messages
1 total messages
Started by Richard Purdie
Wed, 30 Apr 2025 14:58
Re: [poky] machine or vendor specific execution of a function
Author: Richard Purdie
Date: Wed, 30 Apr 2025 14:58
Date: Wed, 30 Apr 2025 14:58
31 lines
4833 bytes
4833 bytes
On Wed, 2025-04-30 at 07:43 -0700, John via lists.yoctoproject.org
wrote:
> I've run into this construct a few times with my work in upgrading
> the customers older dunfell Yocto system to Scarthgap in recipes:
>
> do_compile:append:<some specific string specifier>(){
> ....
> }
>
> It appears to very problematic both in functions and variable value
> definitions. What is that string specifier? In the case I'm running
> into it is set to "qoriq" usually. But in a few examples in the
> vendor's code I see it set to "qoriq-ppc". Which is correct? From a
> high level both are correct but neither will give the desire
> approach. Since locally we are only building for one platform I can
> just remove it and this will work for my situation.
>
> Where is this value being set and how do I find out which one I want?
> There is no machine called "qoriq" or "qoriq-ppc". There is a MACHINE
> variable (in my case t1024rdb-64b) but setting it to that doesn't
> work either.
>
It will be a value in OVERRIDES, which contains elements from
DISTROOVERRIDES and MACHINEOVERIDES but could be added standalone too.
You can learn more about overrides in the manuals.
Cheers,
Richard
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads