Denys,

Can you please backport this to the ti2018.03 branch?

Thank you,
Jake

> -----Original Message-----
> From: meta-ti-boun...@yoctoproject.org [mailto:meta-ti-
> boun...@yoctoproject.org] On Behalf Of Xu, Jianzhong
> Sent: Friday, September 28, 2018 2:05 PM
> To: meta-ti@yoctoproject.org
> Subject: [EXTERNAL] [meta-ti] [PATCH v2] dsplib/mathlib: do not
> install/deploy .metadata
> 
> dsplib/mathlib: do not install/deploy .metadata
> 
> Do not install/deploy .metadata folder for dsplib and mathlib packages.
> This folder prevents CCS from finding and installing dsplib and mathlib.
> 
> Signed-off-by: Jianzhong Xu <x...@ti.com>
> ---
> Changes from previous version:
> * Log has been modified to better reflect code change.
> ---
> ---
>  recipes-ti/dsplib/dsplib.inc   | 2 --
>  recipes-ti/mathlib/mathlib.inc | 2 --
>  2 files changed, 4 deletions(-)
> 
> diff --git a/recipes-ti/dsplib/dsplib.inc b/recipes-ti/dsplib/dsplib.inc
> index 7180c4a..f369679 100644
> --- a/recipes-ti/dsplib/dsplib.inc
> +++ b/recipes-ti/dsplib/dsplib.inc
> @@ -49,7 +49,6 @@ do_install() {
> 
>       find -name "${DSPLIB_PACKAGE_NAME}.zip" -exec unzip -o {} -d
> ${D}${DSPLIB_INSTALL_DIR_RECIPE} \;
>       mv ${D}${DSPLIB_INSTALL_DIR_RECIPE}/dsplib/*
> ${D}${DSPLIB_INSTALL_DIR_RECIPE}
> -     mv ${D}${DSPLIB_INSTALL_DIR_RECIPE}/dsplib/.metadata
> ${D}${DSPLIB_INSTALL_DIR_RECIPE}
>       rm -r ${D}${DSPLIB_INSTALL_DIR_RECIPE}/dsplib
>  }
> 
> @@ -62,7 +61,6 @@ do_deploy() {
>       # and place the zip file in ${DEPLOYDIR}
>       mkdir ./${DSPLIB_PACKAGE_NAME}
>       cp -r ${D}${DSPLIB_INSTALL_DIR_RECIPE}/*
> ./${DSPLIB_PACKAGE_NAME}
> -     cp -r ${D}${DSPLIB_INSTALL_DIR_RECIPE}/.metadata
> ./${DSPLIB_PACKAGE_NAME}
>       zip -9 -y -r -q ${DEPLOYDIR}/${DSPLIB_PACKAGE_NAME}.zip
> ./${DSPLIB_PACKAGE_NAME}
>       rm -r ./${DSPLIB_PACKAGE_NAME}
>  }
> diff --git a/recipes-ti/mathlib/mathlib.inc b/recipes-ti/mathlib/mathlib.inc
> index 3e981e4..6aea085 100644
> --- a/recipes-ti/mathlib/mathlib.inc
> +++ b/recipes-ti/mathlib/mathlib.inc
> @@ -48,7 +48,6 @@ do_install() {
> 
>       find -name "${MATHLIB_PACKAGE_NAME}.zip" -exec unzip -o {} -d
> ${D}${MATHLIB_INSTALL_DIR_RECIPE} \;
>       mv ${D}${MATHLIB_INSTALL_DIR_RECIPE}/mathlib/*
> ${D}${MATHLIB_INSTALL_DIR_RECIPE}
> -     mv ${D}${MATHLIB_INSTALL_DIR_RECIPE}/mathlib/.metadata
> ${D}${MATHLIB_INSTALL_DIR_RECIPE}
>       rm -r ${D}${MATHLIB_INSTALL_DIR_RECIPE}/mathlib
>  }
> 
> @@ -61,7 +60,6 @@ do_deploy() {
>       # and place the zip file in ${DEPLOYDIR}
>       mkdir ./${MATHLIB_PACKAGE_NAME}
>       cp -r ${D}${MATHLIB_INSTALL_DIR_RECIPE}/*
> ./${MATHLIB_PACKAGE_NAME}
> -     cp -r ${D}${MATHLIB_INSTALL_DIR_RECIPE}/.metadata
> ./${MATHLIB_PACKAGE_NAME}
>       zip -9 -y -r -q ${DEPLOYDIR}/${MATHLIB_PACKAGE_NAME}.zip
> ./${MATHLIB_PACKAGE_NAME}
>       rm -r ./${MATHLIB_PACKAGE_NAME}
>  }
> --
> 1.9.1
> 
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
-- 
_______________________________________________
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti

Reply via email to