Skip to contentSkip to conversation

machine or vendor specific execution of a function

DISCUSSION John 2 participants 2 messages Apr 30, 2025

lore
Share & tools
lore

John

author
#0 lore raw

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.

Cheers!!

#1 lore raw
Quoted 11 lines · John via lists.yoctoproject.org

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

Quoted 9 lines

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