[oe] [meta-qt5][PATCH 2/2] nativesdk-qttools.inc: Fix installation and packaging

Denys Dmytriyenko denis at denix.org
Mon Feb 17 20:36:46 UTC 2014


On Mon, Feb 17, 2014 at 05:05:29PM -0300, Otavio Salvador wrote:
> We must to fix the installation paths as did in nativesdk-qtbase.inc
> and remove the files unused from the packages. This fixes the
> packaging errors and allows for a successful build for SDK.
> 
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>

Acked-by: Denys Dmytriyenko <denys at ti.com>


> ---
>  recipes-qt/qt5/nativesdk-qttools.inc |    6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/recipes-qt/qt5/nativesdk-qttools.inc b/recipes-qt/qt5/nativesdk-qttools.inc
> index e9b2949..494c7b8 100644
> --- a/recipes-qt/qt5/nativesdk-qttools.inc
> +++ b/recipes-qt/qt5/nativesdk-qttools.inc
> @@ -21,5 +21,11 @@ do_configure() {
>  }
>  
>  do_install() {
> +    # Fix install paths for all
> +    find -name "Makefile*" | xargs sed -i "s,(INSTALL_ROOT)${STAGING_DIR_HOST},(INSTALL_ROOT),g"
> +
>      oe_runmake install INSTALL_ROOT=${D}
> +
> +    # remove things unused in nativesdk
> +    rm -rf ${D}${libdir}
>  }
> -- 
> 1.7.10.4
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list