]> code.ossystems Code Review - meta-freescale.git/commit
mesa: Disable dri for parts without DRM
authorTom Hochstein <tom.hochstein@nxp.com>
Tue, 2 Feb 2021 18:15:45 +0000 (12:15 -0600)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 3 Feb 2021 10:56:53 +0000 (07:56 -0300)
commit23416520c2aeaf593177adac54c4983c0bf361f2
tree3e665022bc652bc60b4cd75c80b268d8d94ae164
parent156064f4b778ceb595aa18e9e7209f2969069ed7
mesa: Disable dri for parts without DRM

On dunfell parts without DRM (i.MX 6 and 7) break because dri is enabled:

```
| meson.build:455:4: ERROR: Problem encountered: building dri drivers require at least one windowing system or classic osmesa
```

The break does not occur on master since dri is effectively disabled if no dri
drivers are configured. Disabling dri outright is still a better implementation
on master, and of course is required on dunfell.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
recipes-graphics/mesa/mesa_%.bbappend