summaryrefslogtreecommitdiff
path: root/recipes-graphics/mesa/mesa_%.bbappend
blob: 29431cab24fcd6439101e80d81d391e37e4e6b03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}"

PACKAGECONFIG[kmsro] = ""

GALLIUMDRIVERS_remove ="${@bb.utils.contains('PACKAGECONFIG', 'imx', ',imx', '', d)}"
GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'kmsro', ',kmsro', '', d)}"

# use Etnaviv gallium driver for imxgpu3d machines
# gpu needs to be covered by MACHINE_SOCARCH
PACKAGECONFIG_append_imxgpu3d = " gallium kmsro"
GALLIUMDRIVERS_imxgpu3d = "etnaviv,vc4,swrast"