summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/libgles
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2016-04-25 23:56:26 +0000
committerDenys Dmytriyenko <denys@ti.com>2016-04-26 14:54:54 -0400
commitc70102c671f120822edc7743401e821ea4f40e4f (patch)
tree3cc0d2c11d7707a27c308f25a8ab04dd9aa01191 /recipes-graphics/libgles
parent7ae1abe462d8eafc378f10d2e6f23aeac61fed6c (diff)
downloadmeta-ti-c70102c671f120822edc7743401e821ea4f40e4f.tar.gz
sgx: rename and clean up kernel and user space components
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-graphics/libgles')
-rw-r--r--recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb (renamed from recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.14.3699939.bb)29
1 files changed, 25 insertions, 4 deletions
diff --git a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.14.3699939.bb b/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb
index a79c61fb..c29b9fee 100644
--- a/recipes-graphics/libgles/omap5-sgx-ddk-um-linux_1.14.3699939.bb
+++ b/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb
@@ -10,6 +10,18 @@ BRANCH = "ti-img-sgx/${PV}"
10SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}" 10SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git;protocol=git;branch=${BRANCH}"
11SRCREV = "626c4f773b7c704f1d9a55ca80f60a79f809186d" 11SRCREV = "626c4f773b7c704f1d9a55ca80f60a79f809186d"
12 12
13# There's only hardfp version available
14python __anonymous() {
15 tunes = bb.data.getVar("TUNE_FEATURES", d, 1)
16 if not tunes:
17 return
18 pkgn = bb.data.getVar("PN", d, 1)
19 pkgv = bb.data.getVar("PV", d, 1)
20 if "callconvention-hard" not in tunes:
21 bb.warn("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv))
22 raise bb.parse.SkipPackage("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv))
23}
24
13TARGET_PRODUCT_omap-a15 = "jacinto6evm" 25TARGET_PRODUCT_omap-a15 = "jacinto6evm"
14TARGET_PRODUCT_ti33x = "ti335x" 26TARGET_PRODUCT_ti33x = "ti335x"
15TARGET_PRODUCT_ti43x = "ti437x" 27TARGET_PRODUCT_ti43x = "ti437x"
@@ -20,13 +32,21 @@ INITSCRIPT_PARAMS = "defaults 8"
20inherit update-rc.d 32inherit update-rc.d
21 33
22PR = "r8" 34PR = "r8"
23PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2" 35PROVIDES += "virtual/egl virtual/libgles1 virtual/libgles2 omap5-sgx-ddk-um-linux"
24 36
25RDEPENDS_${PN} += "libdrm libudev libgbm wayland libffi libdrm-omap" 37RDEPENDS_${PN} += "libdrm libudev libgbm wayland libffi libdrm-omap"
26 38
27RREPLACES_${PN} = "libegl libgles1 libgles2" 39RPROVIDES_${PN} = "libegl libgles1 libgles2 omap5-sgx-ddk-um-linux"
28RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev" 40RPROVIDES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev omap5-sgx-ddk-um-linux-dev"
29RREPLACES_${PN}-dbg = "libegl-dbg" 41RPROVIDES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg omap5-sgx-ddk-um-linux-dbg"
42
43RREPLACES_${PN} = "libegl libgles1 libgles2 omap5-sgx-ddk-um-linux"
44RREPLACES_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev omap5-sgx-ddk-um-linux-dev"
45RREPLACES_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg omap5-sgx-ddk-um-linux-dbg"
46
47RCONFLICTS_${PN} = "libegl libgles1 libgles2 omap5-sgx-ddk-um-linux"
48RCONFLICTS_${PN}-dev = "libegl-dev libgles1-dev libgles2-dev omap5-sgx-ddk-um-linux-dev"
49RCONFLICTS_${PN}-dbg = "libegl-dbg libgles1-dbg libgles2-dbg omap5-sgx-ddk-um-linux-dbg"
30 50
31S = "${WORKDIR}/git" 51S = "${WORKDIR}/git"
32 52
@@ -48,6 +68,7 @@ RDEPENDS_${PN} += "${PN}-plugins"
48ALLOW_EMPTY_${PN}-plugins = "1" 68ALLOW_EMPTY_${PN}-plugins = "1"
49 69
50INHIBIT_PACKAGE_STRIP = "1" 70INHIBIT_PACKAGE_STRIP = "1"
71INHIBIT_SYSROOT_STRIP = "1"
51 72
52INSANE_SKIP_${PN} += "dev-so ldflags useless-rpaths" 73INSANE_SKIP_${PN} += "dev-so ldflags useless-rpaths"
53INSANE_SKIP_${PN}-plugins = "dev-so" 74INSANE_SKIP_${PN}-plugins = "dev-so"