mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-05-06 03:25:25 +00:00
There are some unobvious issues with adding PVR support to Mesa via a bbappend: 1. We need to mark mesa package as machine-specific, due to differences in builds between SGX, Rogue and software-rendering 2. We also need to then mark mesa package as providing safe ABIs (EGL/GLES/GBM) in order for all generic dependent packages to not be treated as machine-specific, allowing their re-use across different machines of the same architecture But doing the above alters the upstream mesa package and changes its signatures even when not building for TI platforms, which is a Yocto Project compliance violation. In order to resolve this issue, convert Mesa bbappend, that adds PVR support, into its own standalone alternative provider, called mesa-pvr and allow selecting it with PREFERRED_PROVIDER settings. Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
12 lines
256 B
PHP
12 lines
256 B
PHP
require conf/machine/include/k3.inc
|
|
SOC_FAMILY:append = ":j721s2"
|
|
|
|
MACHINE_FEATURES += "screen gpu"
|
|
|
|
require conf/machine/include/mesa-pvr.inc
|
|
PREFERRED_PROVIDER_virtual/gpudriver ?= "ti-img-rogue-driver"
|
|
|
|
TFA_BOARD = "generic"
|
|
|
|
OPTEEMACHINE = "k3-j784s4"
|