[oe] [meta-oe] Maliit: Add initial recipes

Otavio Salvador otavio at ossystems.com.br
Wed Oct 17 10:57:47 UTC 2012


On Wed, Oct 17, 2012 at 5:55 AM, Samuel Stirtzel
<s.stirtzel at googlemail.com>wrote:

> +do_install() {
> +    cd ${S} && (INSTALL_ROOT=${D} oe_runmake install)
> +
> +    #Fix absolute paths
> +    cd ${D}/${datadir}/qt4/mkspecs/features && sed -i -e
> "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ./maliit-framework.prf
> +    cd ${D}/${datadir}/qt4/mkspecs/features && sed -i -e
> "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ./maliit-plugins.prf
> +
>

You can use EXTRA_OEMAKE ans pass INSTALL_ROOT as an option. The sed can be
done using do_install_append() and you can avoid the cd and calling sed
using the full path for it.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br



More information about the Openembedded-devel mailing list