On Mon, Sep 24, 2018 at 12:05:50PM -0400, Djordje Senicic wrote:
> Signed-off-by: Djordje Senicic <x0157...@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}

Why do you make libraries executable?
BTW, are those *.so actual libraries or symlinks?


>      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
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to