From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by mx1.pokylinux.org (Postfix) with ESMTP id 9D4FB4C8009D for ; Thu, 16 Jun 2011 14:02:16 -0500 (CDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail.windriver.com (8.14.3/8.14.3) with ESMTP id p5GJ2EQR028586 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 16 Jun 2011 12:02:14 -0700 (PDT) Received: from Macintosh-5.local (172.25.36.226) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.1.255.0; Thu, 16 Jun 2011 12:02:14 -0700 Message-ID: <4DFA5335.9030102@windriver.com> Date: Thu, 16 Jun 2011 14:02:13 -0500 From: Mark Hatle Organization: Wind River Systems User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Chris Larson References: <4DFA2CFF.6020003@emcraft.com> <4DFA4B3F.905@windriver.com> In-Reply-To: Cc: poky@yoctoproject.org Subject: Re: bbappend and require X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2011 19:02:16 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On 6/16/11 1:39 PM, Chris Larson wrote: > On Thu, Jun 16, 2011 at 11:28 AM, Mark Hatle wrote: >> On 6/16/11 11:19 AM, Ilya Yanok wrote: >>> Hi guys, >>> >>> Is bbappend supposed to work when the recipe is included (with require) >>> from another recipe? >>> >>> We want to add some package to SDK so I've created >>> task-sdk-host.bbappend in our layer and it works fine. But when I'm >>> building task-qte-toolchain-host (which requires task-sdk-host) bbappend >>> file seems to be ignored. Is it to be expected? >>> >>> It's no problem to create task-qte-toolchain.bbappend also, and this >>> fixes the problem but what should be the right behavior of require wrt >>> bbapend? >> >> This sounds like a bug to me. Which version of Poky/Yocto are you currently >> using, and can you give us a simple reproducer. (Better yet, file a bug in the >> bugzilla.yoctoproject.org... if you can't do so, I'll be happy to file it if I >> can get a reproducer.) > > I wouldn't think this is a bug. A bbappend applies to the recipe > itself, not any of the files it includes. This is Working As Designed, > as far as I can tell. I misunderstood the issue then.. I thought what was being described was.. task-sdk-host.bb had a task-sdk-host.bbappend task-qte-toolchain-host.bb requires task-sdk-host.. building task-sdk-host "worked", building "task-qte-toolchain-host" didn't. If that's not the case... then Chris is correct.. this is as designed. a bbappend only affects the item being appended. --Mark