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 yocto-www.yoctoproject.org (Postfix) with ESMTP id CB457E0077E for ; Thu, 5 Dec 2013 08:09:11 -0800 (PST) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.5) with ESMTP id rB5G98Wp006774 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Thu, 5 Dec 2013 08:09:09 -0800 (PST) Received: from [128.224.146.67] (128.224.146.67) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.2.347.0; Thu, 5 Dec 2013 08:09:08 -0800 Message-ID: <52A0A520.7060103@windriver.com> Date: Thu, 5 Dec 2013 11:09:04 -0500 From: Bruce Ashfield User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: Stefan Roese , References: <52A0A38E.7020903@gmail.com> In-Reply-To: <52A0A38E.7020903@gmail.com> Subject: Re: Board specific bbappend file X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Dec 2013 16:09:14 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 13-12-05 11:02 AM, Stefan Roese wrote: > Dear List! > > I'm trying to add a board specific *.bbappend file to a recipe. To add > board specific informations/settings to this recipe but without changing > the common (generic) recipe (*.bb) file. Something like this: > > recipe: > linux-xyz_3.12.bb > > board-specific append file: > linux-xyz-board-foo_3.12.bbappend > > From the documentation I read: > " > Append files must have the same root names as their corresponding > recipes. For example, the append file someapp_1.5.1.bbappend must apply > to someapp_1.5.1.bb. > " > > So it seems impossible to "encrypt" the board name into the bbappend > file name. Or am I missing something? > > If not, is there another way to add such board-specific stuff to a > recipe without changing the generic recipe? What exactly are you tried to change on a per-board basis ? Assuming it is variables, you can use the standard OVERRIDES mechanism to have a version specific bbappend, that changes variables on a per board basis. i.e. FOO_ = "bar" FOO_ = "bar2" Assuming the generic recipe uses these variables appropriately, you'll be fine. Bruce > > Thanks, > Stefan > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto >