diff options
Diffstat (limited to 'meta-ti-bsp/recipes-graphics')
-rw-r--r-- | meta-ti-bsp/recipes-graphics/mesa/mesa-gl_22.%.bbappend | 1 | ||||
-rw-r--r-- | meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb (renamed from meta-ti-bsp/recipes-graphics/mesa/pvr-mesa.inc) | 10 | ||||
-rw-r--r-- | meta-ti-bsp/recipes-graphics/mesa/mesa_22.%.bbappend | 1 |
3 files changed, 6 insertions, 6 deletions
diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa-gl_22.%.bbappend b/meta-ti-bsp/recipes-graphics/mesa/mesa-gl_22.%.bbappend deleted file mode 100644 index 912e9e9d..00000000 --- a/meta-ti-bsp/recipes-graphics/mesa/mesa-gl_22.%.bbappend +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | require ${@bb.utils.contains_any('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver ti-sgx-ddk-km', 'pvr-mesa.inc', '', d)} | ||
diff --git a/meta-ti-bsp/recipes-graphics/mesa/pvr-mesa.inc b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb index caf94156..0de3cb94 100644 --- a/meta-ti-bsp/recipes-graphics/mesa/pvr-mesa.inc +++ b/meta-ti-bsp/recipes-graphics/mesa/mesa-pvr_22.3.5.bb | |||
@@ -2,11 +2,13 @@ | |||
2 | # upstream yet. This allows us to build the shims we need without completely | 2 | # upstream yet. This allows us to build the shims we need without completely |
3 | # clobbering mesa. | 3 | # clobbering mesa. |
4 | 4 | ||
5 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | 5 | require recipes-graphics/mesa/mesa.inc |
6 | |||
7 | SUMMARY += " (with PowerVR support for TI platforms)" | ||
6 | 8 | ||
7 | LIC_FILES_CHKSUM = "file://docs/license.rst;md5=63779ec98d78d823a9dc533a0735ef10" | 9 | LIC_FILES_CHKSUM = "file://docs/license.rst;md5=63779ec98d78d823a9dc533a0735ef10" |
8 | 10 | ||
9 | BRANCH = "powervr/kirkstone/22.3.5" | 11 | BRANCH = "powervr/kirkstone/${PV}" |
10 | 12 | ||
11 | SRC_URI = " \ | 13 | SRC_URI = " \ |
12 | git://gitlab.freedesktop.org/StaticRocket/mesa.git;protocol=https;branch=${BRANCH} \ | 14 | git://gitlab.freedesktop.org/StaticRocket/mesa.git;protocol=https;branch=${BRANCH} \ |
@@ -38,7 +40,6 @@ PACKAGECONFIG:remove = "xvmc" | |||
38 | PACKAGECONFIG[xvmc] = "" | 40 | PACKAGECONFIG[xvmc] = "" |
39 | 41 | ||
40 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 42 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
41 | PV = "22.3.5+pvr" | ||
42 | 43 | ||
43 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'pvr', ',pvr', '', d)}" | 44 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'pvr', ',pvr', '', d)}" |
44 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'sgx', ',sgx', '', d)}" | 45 | GALLIUMDRIVERS:append = "${@bb.utils.contains('PACKAGECONFIG', 'sgx', ',sgx', '', d)}" |
@@ -50,6 +51,7 @@ do_install:append () { | |||
50 | rm -rf ${D}${datadir}/pkgconfig | 51 | rm -rf ${D}${datadir}/pkgconfig |
51 | } | 52 | } |
52 | 53 | ||
53 | FILES:mesa-vulkan-drivers += " ${libdir}/libpvr_mesa_wsi.so" | 54 | FILES:${PN}-dev += "${datadir}/mesa/wayland-drm.xml" |
55 | FILES:mesa-vulkan-drivers += "${libdir}/libpvr_mesa_wsi.so" | ||
54 | 56 | ||
55 | RRECOMMENDS:mesa-megadriver:append:class-target = " ${@d.getVar('PREFERRED_PROVIDER_virtual/gpudriver')}" | 57 | RRECOMMENDS:mesa-megadriver:append:class-target = " ${@d.getVar('PREFERRED_PROVIDER_virtual/gpudriver')}" |
diff --git a/meta-ti-bsp/recipes-graphics/mesa/mesa_22.%.bbappend b/meta-ti-bsp/recipes-graphics/mesa/mesa_22.%.bbappend deleted file mode 100644 index 912e9e9d..00000000 --- a/meta-ti-bsp/recipes-graphics/mesa/mesa_22.%.bbappend +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | require ${@bb.utils.contains_any('PREFERRED_PROVIDER_virtual/gpudriver', 'ti-img-rogue-driver ti-sgx-ddk-km', 'pvr-mesa.inc', '', d)} | ||