[meta-freescale] ][PATCH 05/31] apptrk: update recipe to support both QorIQ ARM and QorIQ PPC targets

Daiane Angolini daiane.list at gmail.com
Fri Aug 14 06:17:50 PDT 2015


On Wed, Aug 12, 2015 at 11:42 AM, Zhenhua Luo <zhenhua.luo at freescale.com> wrote:
> * Conditionally define EXTRA_OEMAKE and CFLAGS
> * Add COMPATIBLE_MACHINE
>
> Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>

Acked-by: Daiane Angolini <daiane.angolini at freescale.com>

> ---
>  recipes-bsp/apptrk/apptrk_git.bb | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)
>
> diff --git a/recipes-bsp/apptrk/apptrk_git.bb b/recipes-bsp/apptrk/apptrk_git.bb
> index 1d25107..cef1292 100644
> --- a/recipes-bsp/apptrk/apptrk_git.bb
> +++ b/recipes-bsp/apptrk/apptrk_git.bb
> @@ -15,11 +15,15 @@ SRCREV = "cbed10997c5e2a4aaa004fb0e1efec858bf1bbe1"
>
>  S = "${WORKDIR}/git"
>
> -EXTRA_OEMAKE = ""
> +EXTRA_OEMAKE_qoriq-arm = "ARCH=arm"

Would be good to include in the future plans to work in coherence of
these recipe and project.

Maybe it's just me not liking the asymmetry of this patch...

Daiane

>
> -CFLAGS += " -I${STAGING_INCDIR}"
> -CFLAGS_append_powerpc64 = " -DENABLE_64BIT_SUPPORT"
> +CFLAGS += "-I${STAGING_INCDIR} -ISource/Linux -ISource/Portable"
> +CFLAGS_qoriq-arm += "-ISource/Linux_ARM -ISource/ARM"
> +CFLAGS_qoriq-ppc += "-ISource/Linux_PA -ISource/PA -DPPC"
> +CFLAGS_powerpc64 += "-DENABLE_64BIT_SUPPORT"
>
>  do_install() {
>          oe_runmake install DESTDIR=${D}
>  }
> +
> +COMPATIBLE_MACHINE = "(qoriq)"
> --
> 2.4.3
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale


More information about the meta-freescale mailing list