From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 8EEF8E006ED; Wed, 16 Jul 2014 15:06:19 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00, URI_HEX autolearn=no version=3.3.1 X-Spam-HAM-Report: * 1.1 URI_HEX URI: URI hostname has long hexadecimal sequence * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 783F6E00563 for ; Wed, 16 Jul 2014 15:06:15 -0700 (PDT) Received: from [192.168.1.10] (c-68-38-40-177.hsd1.nj.comcast.net [68.38.40.177]) by smtp.webfaction.com (Postfix) with ESMTP id E4A75226BE8E; Wed, 16 Jul 2014 22:06:14 +0000 (UTC) Message-ID: <53C6F755.4030100@mindchasers.com> Date: Wed, 16 Jul 2014 18:06:13 -0400 From: Bob Cochran User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: "ting.liu@freescale.com" References: <53C57120.2040501@mindchasers.com> <49f1f4094a424bb5887c3710cb9f95d3@BN1PR03MB156.namprd03.prod.outlook.com> In-Reply-To: <49f1f4094a424bb5887c3710cb9f95d3@BN1PR03MB156.namprd03.prod.outlook.com> Cc: "meta-freescale@yoctoproject.org" Subject: Re: [meta-fsl-networking] recipes-bsp/tcf-qorqdbg doesn't build with poky master X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2014 22:06:19 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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. >> >> >> > >