From: Denys Dmytriyenko <[email protected]>
Previous versions packaged only libOpenCL.so.* and few headers in the main
package, hence binary IPK packages were getting renamed to "libopencl1*.ipk"
by debian.bbclass in accordance with Debian Library Packaging Guide.
The new version now adds couple binaries and debian.bbclass no longer does
the renaming. Unfortunately, all the existing binary feeds and shared states
recorded dependencies on libopencl1*, not opencl*, hence breaking incremental
builds or live updates with "opkg update/install".
By packaging new binaries into ${PN}-runtime subpackage debian.bbclass gets
unblocked and existing dependencies satisfied.
Signed-off-by: Denys Dmytriyenko <[email protected]>
---
meta-arago-extras/recipes-ti/ocl/opencl_git.bb | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
index 1d39274..059be38 100644
--- a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
+++ b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
@@ -11,7 +11,7 @@ inherit cmake systemd
COMPATIBLE_MACHINE = "dra7xx|keystone"
PACKAGE_ARCH = "${MACHINE_ARCH}"
-PACKAGES += " ${PN}-runtime"
+PACKAGES =+ "${PN}-runtime"
DEPENDS = " ocl-gl-headers \
opencl-monitor \
@@ -39,7 +39,6 @@ RDEPENDS_${PN}-runtime += " ${PN} opencl-monitor clocl
ti-cgt6x"
ALLOW_EMPTY_${PN}-runtime = "1"
-
S = "${WORKDIR}/git/host"
export WANT_LLVM_RELEASE = "3.6-ti"
@@ -68,6 +67,8 @@ do_install_append() {
SYSTEMD_SERVICE_${PN} = "ti-mct-daemon.service"
+FILES_${PN}-runtime += "${bindir}"
+
FILES_${PN} += " \
${datadir}/ti/opencl/* \
"
--
2.7.4
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago