Nak!

On Wed, Sep 6, 2017 at 11:34 PM, Chunrong Guo <b40...@freescale.com> wrote:
> From: Chunrong Guo <chunrong....@nxp.com>
>
> Signed-off-by: Chunrong Guo <chunrong....@nxp.com>
> ---
>  recipes-extended/ofp/ofp_git.bb | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)
>
> diff --git a/recipes-extended/ofp/ofp_git.bb b/recipes-extended/ofp/ofp_git.bb
> index b8cb7eb..ffa7892 100644
> --- a/recipes-extended/ofp/ofp_git.bb
> +++ b/recipes-extended/ofp/ofp_git.bb
> @@ -14,15 +14,17 @@ S = "${WORKDIR}/git"
>
>  inherit autotools-brokensep pkgconfig
>
> +export prefix = "/usr/local"
> +
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
>
>  DEPENDS = "odp"
>
>  EXTRA_OECONF = " \
> -    --prefix=/usr \
> +    --prefix=${prefix} \
>      --libdir=${libdir} \
>      --host=${SIMPLE_TARGET_SYS} \
> -    --with-odp=${STAGING_DIR_TARGET} \
> +    --with-odp=${STAGING_DIR_TARGET}${prefix} \
>  "
>
>  do_configure () {
> @@ -32,6 +34,8 @@ do_configure () {
>      ${S}/configure ${EXTRA_OECONF}
>  }
>
> -FILES_${PN} += "/usr/ofp/bin"
> +FILES_${PN} += "/usr/local/ofp/bin"
>  FILES_${PN}-dbg += "/usr/ofp/bin/.debug"
>  COMPATIBLE_MACHINE = "(ls2088a|ls1088a)"
> +
> +INSANE_SKIP_${PN} += "rpaths"
> --
> 1.9.0
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale



-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
-- 
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to