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

Daiane Angolini daiane.list at gmail.com
Wed Aug 12 05:52:34 PDT 2015


On Wed, Aug 12, 2015 at 3:52 AM, Luo Zhenhua <zhenhua.luo at freescale.com> wrote:
> You can get the QorIQ machine list by running 'ls conf/machine | egrep -v "^imx|^twr|include"' in meta-freescale folder.
>
> I am curious on how imx machine list is got, can you shed some lights?

What I meant is, you used COMPATIBLE_MACHINE = "(qoriq)" in the
recipe, but I was not able to find where you defined "qoriq" as a
MACHINEOVERRIDE or a SOC_FAMILY.

I found qoriq-arm and qoriq-ppc, but not qoriq

I think I'm missing something.

Daiane
>
>
> Best Regards,
>
> Zhenhua
>
>> -----Original Message-----
>> From: angolini at gmail.com [mailto:angolini at gmail.com] On Behalf Of Daiane
>> Angolini
>> Sent: Wednesday, August 12, 2015 2:26 AM
>> To: Luo Zhenhua-B19537 <zhenhua.luo at freescale.com>
>> Cc: meta-freescale at yoctoproject.org
>> Subject: Re: [meta-freescale] [PATCH 3/8] apptrk: update recipe to support
>> both QorIQ ARM and QorIQ PPC targets
>>
>> On Tue, Aug 11, 2015 at 5:48 AM, Zhenhua Luo <zhenhua.luo at freescale.com>
>> wrote:
>> > * Conditionally defint EXTRA_OEMAKE and CFLAGS
>>
>> s/defint/define
>>
>> > * Add COMPATIBLE_MACHINE
>> >
>> > Signed-off-by: Zhenhua Luo <zhenhua.luo 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"
>> >
>> > -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)"
>>
>> I was not able to find the list of  "qoriq" machines. Would you mind to point me
>> to them? (I'm not sure if I'm searching in the right place, I tried
>> github/Freescale/meta-freescale:master at conf/machines). Thanks in advance.
>>
>> Daiane
>> > --
>> > 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