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/powervr.ini0
-rw-r--r--recipes-graphics/libgles/omap5-sgx-ddk-um-linux/rc.pvr17
-rw-r--r--recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti33x/powervr.ini3
-rw-r--r--recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini3
-rw-r--r--recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.9.0.12.bb29
5 files changed, 49 insertions, 3 deletions
diff --git a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/powervr.ini b/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/powervr.ini
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/powervr.ini
diff --git a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/rc.pvr b/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/rc.pvr
new file mode 100644
index 00000000..2711d6b7
--- /dev/null
+++ b/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/rc.pvr
@@ -0,0 +1,17 @@
1#!/bin/bash
2
3case "$1" in
4 start)
5
6 echo "Initializing the graphics driver ..."
7 pvrsrvinit
8
9 ;;
10 stop)
11 # Nothing to be done.
12 ;;
13 *)
14 echo "Usage: $0 {start|stop}"
15 exit 1
16 ;;
17esac
diff --git a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti33x/powervr.ini b/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti33x/powervr.ini
new file mode 100644
index 00000000..0657ab87
--- /dev/null
+++ b/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti33x/powervr.ini
@@ -0,0 +1,3 @@
1[default]
2WindowSystem=null_libdrm.so
3DisableHWTQTextureUpload=1
diff --git a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini b/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini
new file mode 100644
index 00000000..0657ab87
--- /dev/null
+++ b/recipes-graphics/libgles/omap5-sgx-ddk-um-linux/ti43x/powervr.ini
@@ -0,0 +1,3 @@
1[default]
2WindowSystem=null_libdrm.so
3DisableHWTQTextureUpload=1
diff --git a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.9.0.12.bb b/recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.9.0.12.bb
index c29b91db..a97f88bf 100644
--- a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.9.0.12.bb
+++ b/recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.9.0.12.bb
@@ -3,12 +3,23 @@ HOMEPAGE = "http://downloads.ti.com/dsps/dsps_public_sw/gfxsdk"
3LICENSE = "TI-TSPA" 3LICENSE = "TI-TSPA"
4LIC_FILES_CHKSUM = "file://OMAP5-Linux-Graphics-DDK-UM-Manifest.doc;md5=360d293df455e4f2d363bb4014a49603" 4LIC_FILES_CHKSUM = "file://OMAP5-Linux-Graphics-DDK-UM-Manifest.doc;md5=360d293df455e4f2d363bb4014a49603"
5 5
6BRANCH = "master" 6PACKAGE_ARCH = "${MACHINE_ARCH}"
7
8BRANCH_omap-a15 = "master"
9BRANCH_ti33x = "am4/k4.1"
10BRANCH_ti43x = "am4/k4.1"
7 11
8SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}" 12SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
9SRCREV = "d63cd6469fff610317a8e1c986f227bb3e7922f6" 13SRCREV_omap-a15 = "d63cd6469fff610317a8e1c986f227bb3e7922f6"
14SRCREV_ti33x = "c30d4b35701e1b88d58a9ae713b2e679298d1a37"
15SRCREV_ti43x = "c30d4b35701e1b88d58a9ae713b2e679298d1a37"
16
17INITSCRIPT_NAME = "pvr-init"
18INITSCRIPT_PARAMS = "defaults 8"
19
20inherit update-rc.d
10 21
11PR = "r9" 22PR = "r10"
12PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2" 23PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2"
13 24
14RREPLACES_${PN} = "libegl libgles1 libgles2" 25RREPLACES_${PN} = "libegl libgles1 libgles2"
@@ -17,13 +28,25 @@ RREPLACES_${PN}-dbg = "libegl-dbg"
17 28
18S = "${WORKDIR}/git" 29S = "${WORKDIR}/git"
19 30
31SRC_URI_append = " \
32 file://rc.pvr \
33 file://powervr.ini \
34"
35
20do_install () { 36do_install () {
21 oe_runmake install DESTDIR=${D} 37 oe_runmake install DESTDIR=${D}
38 install -d ${D}${sysconfdir}/init.d
39 install -m 0755 ${WORKDIR}/rc.pvr ${D}${sysconfdir}/init.d/pvr-init
40
41 install -d ${D}${sysconfdir}
42 install -m 0644 ${WORKDIR}/powervr.ini ${D}${sysconfdir}/
22} 43}
23 44
24FILES_${PN} = "${bindir}/*" 45FILES_${PN} = "${bindir}/*"
25FILES_${PN} += " ${libdir}/*" 46FILES_${PN} += " ${libdir}/*"
26FILES_${PN} += "${includedir}/* /usr/share/sgx-lib/" 47FILES_${PN} += "${includedir}/* /usr/share/sgx-lib/"
48FILES_${PN} += "${sysconfdir}/init.d/pvr-init"
49FILES_${PN} += "${sysconfdir}/powervr.ini"
27 50
28INHIBIT_PACKAGE_STRIP = "1" 51INHIBIT_PACKAGE_STRIP = "1"
29 52