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

SRC_URI_append = " \
    file://0001-kmsro-move-entry-points-from-etnaviv-to-kmsro.patch \
"

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"