On Wednesday 01 December 2021 at 14:18:19 -0500, Justin Bronder wrote: > On 01/12/21 16:43 +0000, Mike Crowe via lists.openembedded.org wrote: > > I'm building for a specific chip and therefore don't wish to waste time and > > electricity building and disk space on the target installing unwanted mesa > > drivers. However, mesa.inc contains: > > > > GALLIUMDRIVERS = "swrast" > > GALLIUMDRIVERS:x86-x32 = "" > > GALLIUMDRIVERS:append:x86:class-target = ",i915,iris,crocus" > > GALLIUMDRIVERS:append:x86-64:class-target = ",i915,iris,crocus" > > > > and mesa_21.3.0.bb contains: > > > > DRIDRIVERS ??= "" > > DRIDRIVERS:append:x86:class-target = ",r100,r200,nouveau,i965" > > DRIDRIVERS:append:x86-64:class-target = ",r100,r200,nouveau,i965" > > > > I'm unable to find a way to override these values. Using (for example): > > You can use an anonymous python function which runs after parsing. > https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#anonymous-python-functions > > python __anonymous () { > d.setVar("DRIDRIVERS", "i965") > }
Thanks for the suggestion. It solves my problem. However, it seems like quite a subversive way to do the sort of external customisation that recipes normally support. Thanks. Mike.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#159058): https://lists.openembedded.org/g/openembedded-core/message/159058 Mute This Topic: https://lists.openembedded.org/mt/87432435/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-