summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.14.3699939.bb43
1 files changed, 43 insertions, 0 deletions
diff --git a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.14.3699939.bb b/recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.14.3699939.bb
new file mode 100644
index 00000000..1d0f09fb
--- /dev/null
+++ b/recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.14.3699939.bb
@@ -0,0 +1,43 @@
1DESCRIPTION = "Userspace libraries for PowerVR SGX chipset on TI SoCs"
2HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-um-linux"
3LICENSE = "TI-TSPA"
4LIC_FILES_CHKSUM = "file://TI-Linux-Graphics-DDK-UM-Manifest.doc;md5=550702a031857e0426ef7d6f6cf2d9f4"
5
6PACKAGE_ARCH = "${MACHINE_ARCH}"
7
8BRANCH = "ti-img-sgx/${PV}"
9
10SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
11SRCREV = "0e98623e944864f080cd886906b46ea9a5d830e5"
12
13TARGET_PRODUCT_omap-a15 = "jacinto6evm"
14TARGET_PRODUCT_ti33x = "ti335x"
15TARGET_PRODUCT_ti43x = "ti437x"
16
17PR = "r2"
18PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2"
19
20RDEPENDS_${PN} += "libdrm libudev libgbm wayland libffi libdrm-omap"
21
22RREPLACES_${PN} = "libegl libgles1 libgles2"
23RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev"
24RREPLACES_${PN}-dbg = "libegl-dbg"
25
26S = "${WORKDIR}/git"
27
28do_install () {
29 oe_runmake install DESTDIR=${D} TARGET_PRODUCT=${TARGET_PRODUCT}
30 mkdir -p ${D}${libdir}/gbm
31 ln -sf ../libpvrGBMWSEGL.so.${PV} ${D}${libdir}/gbm/gbm_pvr.so
32}
33
34FILES_${PN} = "${bindir}/*"
35FILES_${PN} += " ${libdir}/*"
36FILES_${PN} += "${includedir}/*"
37FILES_${PN} += "${sysconfdir}/*"
38
39INHIBIT_PACKAGE_STRIP = "1"
40
41INSANE_SKIP_${PN} += "dev-so ldflags useless-rpaths"
42
43CLEANBROKEN = "1"