All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bob Cochran <yocto@mindchasers.com>
To: "ting.liu@freescale.com" <ting.liu@freescale.com>
Cc: "meta-freescale@yoctoproject.org" <meta-freescale@yoctoproject.org>
Subject: Re: [meta-fsl-networking] recipes-bsp/tcf-qorqdbg doesn't build with poky master
Date: Wed, 16 Jul 2014 18:06:13 -0400	[thread overview]
Message-ID: <53C6F755.4030100@mindchasers.com> (raw)
In-Reply-To: <49f1f4094a424bb5887c3710cb9f95d3@BN1PR03MB156.namprd03.prod.outlook.com>

On 07/16/2014 02:44 AM, ting.liu@freescale.com wrote:
> Hello Bob,
>
> You are right. Here is the patch:
>
> --- a/recipes-bsp/tcf-qoriqdbg/tcf-qoriqdbg_4.0.0.105390.bb
> +++ b/recipes-bsp/tcf-qoriqdbg/tcf-qoriqdbg_4.0.0.105390.bb
> @@ -11,6 +11,13 @@ SRC_URI = "file://${BPN}-${PV}.tar.bz2 \
>   SRC_URI[md5sum] = "f11b99b489030d9f35573e91c4404e03"
>   SRC_URI[sha256sum] = "3250e2951c3b57bfc3dc9e1174e38555e75682ad90831720a7c882093c119f2b"
>
> -inherit autotools
> -
>   EXTRA_OEMAKE += "CXX='${CXX}'"


Hi Ting,

In my default environment on Poky master, EXTRA_OEMAKE has a default 
"-e", which instructs make to use environment vars over the vars 
internal to the Makefile.  Therefore, it doesn't build.  The "-e" is 
part of the default EXTRA_OEMAKE setting in meta/conf/bitbake.conf.

It builds if I replace "EXTRA_OEMAKE +=" with "EXTRA_OEMAKE =" in the 
recipe, but I suspect it might be better (for yocto developers) to move 
the compiler and linker flags out to the recipe and include them in 
EXTRA_OEMAKE.

I'll leave it up to you.

Bob





> +
> +do_compile() {
> +    oe_runmake all
> +}
> +
> +do_install() {
> +    oe_runmake DESTDIR=${D} install
> +}
> +
>
>> -----Original Message-----
>> From: Bob Cochran [mailto:yocto@mindchasers.com]
>> Sent: Wednesday, July 16, 2014 2:21 AM
>> To: Liu Ting-B28495
>> Cc: meta-freescale@yoctoproject.org
>> Subject: [meta-fsl-networking] recipes-bsp/tcf-qorqdbg doesn't build with poky
>> master
>>
>> I worked around it by changing inherit autotools to inherit autotools-
>> brokensep.
>>
>> However, perhaps this recipe should be written as a makefile only recipe (not
>> inherit autotools) since there is no autoconf support / configure script in
>> the archive.
>>
>>
>>
>
>



      reply	other threads:[~2014-07-16 22:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-15 18:21 [meta-fsl-networking] recipes-bsp/tcf-qorqdbg doesn't build with poky master Bob Cochran
2014-07-15 21:15 ` Otavio Salvador
2014-07-16  6:44 ` ting.liu
2014-07-16 22:06   ` Bob Cochran [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53C6F755.4030100@mindchasers.com \
    --to=yocto@mindchasers.com \
    --cc=meta-freescale@yoctoproject.org \
    --cc=ting.liu@freescale.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.