diff options
Diffstat (limited to 'recipes-graphics')
-rw-r--r-- | recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.14.3699939.bb | 43 |
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 @@ | |||
1 | DESCRIPTION = "Userspace libraries for PowerVR SGX chipset on TI SoCs" | ||
2 | HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-um-linux" | ||
3 | LICENSE = "TI-TSPA" | ||
4 | LIC_FILES_CHKSUM = "file://TI-Linux-Graphics-DDK-UM-Manifest.doc;md5=550702a031857e0426ef7d6f6cf2d9f4" | ||
5 | |||
6 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
7 | |||
8 | BRANCH = "ti-img-sgx/${PV}" | ||
9 | |||
10 | SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}" | ||
11 | SRCREV = "0e98623e944864f080cd886906b46ea9a5d830e5" | ||
12 | |||
13 | TARGET_PRODUCT_omap-a15 = "jacinto6evm" | ||
14 | TARGET_PRODUCT_ti33x = "ti335x" | ||
15 | TARGET_PRODUCT_ti43x = "ti437x" | ||
16 | |||
17 | PR = "r2" | ||
18 | PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2" | ||
19 | |||
20 | RDEPENDS_${PN} += "libdrm libudev libgbm wayland libffi libdrm-omap" | ||
21 | |||
22 | RREPLACES_${PN} = "libegl libgles1 libgles2" | ||
23 | RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev" | ||
24 | RREPLACES_${PN}-dbg = "libegl-dbg" | ||
25 | |||
26 | S = "${WORKDIR}/git" | ||
27 | |||
28 | do_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 | |||
34 | FILES_${PN} = "${bindir}/*" | ||
35 | FILES_${PN} += " ${libdir}/*" | ||
36 | FILES_${PN} += "${includedir}/*" | ||
37 | FILES_${PN} += "${sysconfdir}/*" | ||
38 | |||
39 | INHIBIT_PACKAGE_STRIP = "1" | ||
40 | |||
41 | INSANE_SKIP_${PN} += "dev-so ldflags useless-rpaths" | ||
42 | |||
43 | CLEANBROKEN = "1" | ||