I think this can be simpler and does not need a separate PACKAGECONFIG option, just add iris directly to GALLIUMDRIVERS when building for x86:
GALLIUMDRIVERS_append_x86_class-target = ",iris" GALLIUMDRIVERS_append_x86-64_class-target = ",iris" Alex On Fri, 18 Jun 2021 at 16:46, simon <[email protected]> wrote: > The gallium driver iris is required for intel nuc gen 8+ as it's now the > default driver > > Signed-off-by: Simon Boucher <[email protected]> > --- > meta/recipes-graphics/mesa/mesa.inc | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/meta/recipes-graphics/mesa/mesa.inc > b/meta/recipes-graphics/mesa/mesa.inc > index 5700cc9673..f2d73bb839 100644 > --- a/meta/recipes-graphics/mesa/mesa.inc > +++ b/meta/recipes-graphics/mesa/mesa.inc > @@ -148,6 +148,7 @@ PACKAGECONFIG[virgl] = "" > GALLIUMDRIVERS_append = "${@bb.utils.contains('PACKAGECONFIG', > 'gallium-llvm', ',${GALLIUMDRIVERS_LLVM}', '', d)}" > GALLIUMDRIVERS_append = "${@bb.utils.contains('PACKAGECONFIG', 'r600', > ',r600', '', d)}" > GALLIUMDRIVERS_append = "${@bb.utils.contains('PACKAGECONFIG', 'virgl', > ',virgl', '', d)}" > +GALLIUMDRIVERS_append = "${@bb.utils.contains('PACKAGECONFIG', 'iris', > ',iris', '', d)}" > > PACKAGECONFIG[gallium] = > "-Dgallium-drivers=${@strip_comma('${GALLIUMDRIVERS}')}, > -Dgallium-drivers='', libdrm" > PACKAGECONFIG[gallium-llvm] = "-Dllvm=enabled -Dshared-llvm=enabled, > -Dllvm=disabled, llvm${MESA_LLVM_RELEASE} llvm-native \ > -- > 2.17.1 > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#153080): https://lists.openembedded.org/g/openembedded-core/message/153080 Mute This Topic: https://lists.openembedded.org/mt/83629804/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
