All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-networking] recipes-bsp/tcf-qorqdbg doesn't build with poky master
@ 2014-07-15 18:21 Bob Cochran
  2014-07-15 21:15 ` Otavio Salvador
  2014-07-16  6:44 ` ting.liu
  0 siblings, 2 replies; 4+ messages in thread
From: Bob Cochran @ 2014-07-15 18:21 UTC (permalink / raw)
  To: ting.liu@freescale.com; +Cc: meta-freescale@yoctoproject.org

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.






^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-fsl-networking] recipes-bsp/tcf-qorqdbg doesn't build with poky master
  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
  1 sibling, 0 replies; 4+ messages in thread
From: Otavio Salvador @ 2014-07-15 21:15 UTC (permalink / raw)
  To: Bob Cochran; +Cc: meta-freescale@yoctoproject.org

On Tue, Jul 15, 2014 at 3:21 PM, Bob Cochran <yocto@mindchasers.com> wrote:
> 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.

You're right; this is the right fix for it.

-- 
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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-fsl-networking] recipes-bsp/tcf-qorqdbg doesn't build with poky master
  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
  1 sibling, 1 reply; 4+ messages in thread
From: ting.liu @ 2014-07-16  6:44 UTC (permalink / raw)
  To: Bob Cochran; +Cc: meta-freescale@yoctoproject.org

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}'"
+
+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.
> 
> 
> 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-fsl-networking] recipes-bsp/tcf-qorqdbg doesn't build with poky master
  2014-07-16  6:44 ` ting.liu
@ 2014-07-16 22:06   ` Bob Cochran
  0 siblings, 0 replies; 4+ messages in thread
From: Bob Cochran @ 2014-07-16 22:06 UTC (permalink / raw)
  To: ting.liu@freescale.com; +Cc: meta-freescale@yoctoproject.org

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.
>>
>>
>>
>
>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-16 22:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.