diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2021-01-22 16:25:50 -0600 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-02-03 16:48:43 -0300 |
commit | 9a6fe76e6509e8e23a16587f747d915a22f8305f (patch) | |
tree | 9c95f6b4776075bbf08c789116aaee17a55304a6 /classes/machine-overrides-extender.bbclass | |
parent | 03fa40114dd1f1a4d79c672a6f3cbf3eae1e2077 (diff) | |
download | meta-freescale-9a6fe76e6509e8e23a16587f747d915a22f8305f.tar.gz |
mesa: Limit OSMesa to DRM and remove swrast
OSMesa was originally added for i.MX 8 only. This limitation was recently dropped
accidentally. Additionally, the 8DualXLite has no GPU and fails to build:
```
| In file included from ../../../mesa-demos-8.4.0/src/osdemos/osdemo32.c:14:
| ../../../mesa-demos-8.4.0/src/util/glut_wrap.h:9:12: fatal error: GL/glut.h: No such file or directory
| 9 | # include <GL/glut.h>
| | ^~~~~~~~~~~
| compilation terminated.
```
Fix the OSMesa configuration by limiting it to parts with DRM.
Also, adding swrast prevents the use of hardware acceleration. Drop swrast.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit 47394d05017483e7fd0cba5b927c76198bdfa062)
Diffstat (limited to 'classes/machine-overrides-extender.bbclass')
0 files changed, 0 insertions, 0 deletions