Hi Robert, On March 19, 2021 9:54:34 AM UTC, "Robert P. J. Day" <[email protected]> wrote: > > years ago, i asked about how to support a small set of >closely-related targets using MACHINEOVERRIDES to define how to apply >patches in a (somewhat) hierarchical fashion: > >https://www.yoctoproject.org/pipermail/yocto/2016-March/028922.html > > is there any current BSP that does something like that? and is this >sort of thing worth expanding on and adding to one of the manuals? >
Don't use _prepend but =. BEFORE the other includes in your machine configuration files otherwise the order in MACHINEOVERRIDES is incorrect. Do NOT use append, or .=, they result in incorrect order too. I do use this mechanism because we kind of use Yocto machines the wrong way (basically using machines instead of distros or more complex images). I think NXP is making extensive use of this variable by defining a MACHINEOVERRIDES per SoC families (e.g. imx:imx8:imx8mm). I'm not sure we need to explain all possible uses of OVERRIDES variables, just how to set it and how it works. Hope this helps, Quentin >rday > >-- > >======================================================================== >Robert P. J. Day Ottawa, Ontario, CANADA > http://crashcourse.ca > >LinkedIn: http://ca.linkedin.com/in/rpjday >======================================================================== -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#52780): https://lists.yoctoproject.org/g/yocto/message/52780 Mute This Topic: https://lists.yoctoproject.org/mt/81451700/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
