All of lore.kernel.org
 help / color / mirror / Atom feed
* [rocko][PATCH 1/3] arm-compute-library: Add executables to the filesystem
@ 2018-09-24 16:05 Djordje Senicic
  2018-09-24 16:05 ` [rocko][PATCH 2/3] armnn: " Djordje Senicic
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Djordje Senicic @ 2018-09-24 16:05 UTC (permalink / raw)
  To: meta-arago; +Cc: d-senicic1, Djordje Senicic

Signed-off-by: Djordje Senicic <x0157990@ti.com>
---
 .../arm-compute-library/arm-compute-library_git.bb         | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb b/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb
index d9fa8b0..8a65ade 100644
--- a/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb
+++ b/meta-arago-extras/recipes-support/arm-compute-library/arm-compute-library_git.bb
@@ -29,20 +29,30 @@ LIBS += "-larmpl_lp64_mp"
 do_install() {
     CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
 
-    install -d ${D}${libdir}
+    install -m 0755 -d ${D}${libdir}
     for lib in ${S}/build/*.so
     do
-        install -m 0644 $lib ${D}${libdir}
+        install -m 0755 $lib ${D}${libdir}
     done
 
+    # Install 'example' and benchmark executables
+    install -d ${D}${bindir}
+    find ${S}/build/examples/ -maxdepth 1 -type f -executable -exec cp $CP_ARGS {} ${D}${bindir} \;
+    cp $CP_ARGS ${S}/build/tests/arm_compute_benchmark ${D}${bindir}
+
     # Install built source package as expected by ARMNN
     install -d ${D}${datadir}/${BPN}
     cp $CP_ARGS ${S}/. ${D}${datadir}/${BPN}
 }
 
+SOLIBS = ".so"
+FILES_SOLIBSDEV = ""
+INSANE_SKIP_${PN} = "ldflags"
 INSANE_SKIP_${PN}-dev = "dev-elf ldflags"
 
 PACKAGES =+ "${PN}-source"
+FILES_${PN} += "${bindir}/*"
+FILES_${PN} += "${libdir}/*.so"
 FILES_${PN}-source = "${datadir}/${BPN}"
 INSANE_SKIP_${PN}-source = "ldflags libdir staticdev"
 INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-09-24 18:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-24 16:05 [rocko][PATCH 1/3] arm-compute-library: Add executables to the filesystem Djordje Senicic
2018-09-24 16:05 ` [rocko][PATCH 2/3] armnn: " Djordje Senicic
2018-09-24 16:05 ` [rocko][PATCH 3/3] packagegroups-arago-tisdk-addons: Add armnn and arm-compute-library packages to target filesystem and dev package Djordje Senicic
2018-09-24 16:29 ` [rocko][PATCH 1/3] arm-compute-library: Add executables to the filesystem Denys Dmytriyenko
2018-09-24 17:02   ` Senicic, Djordje
2018-09-24 17:43     ` Denys Dmytriyenko
2018-09-24 18:26       ` Senicic, Djordje

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.