From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yh0-f45.google.com (mail-yh0-f45.google.com [209.85.213.45]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C4BE6E006D2 for ; Mon, 9 Dec 2013 09:03:48 -0800 (PST) Received: by mail-yh0-f45.google.com with SMTP id v1so2815429yhn.4 for ; Mon, 09 Dec 2013 09:03:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=YYQueQ2Btop5YjMU6OBgsoRxRPrAKY1dwkQxZuMObls=; b=Sm191D68QcSyzDmG7ZpOPfqd5ub9jczhi9WYzloTS6eOEKm2zDz76Qs4FYF0x7HhI/ zzmrsuyWuvISkuhx2GfdIdf/SHL0whYqrm703Sl00AQBGPLIdsq7/5bBQLvz0W7pTAbq w0tM7RwUliGbfCKdnQVxfaNvZwIGxu5+2btwqOnM7MwEni4Wr2FiUc3hvdolNIj3DX7q t07nsETN2rKYwc3hOzR3nbj6aO4BlX0goPIDpvuxCNHj9lWNNnlXIncnQCcOfhHcsx8o JeRCGUHRCBBvm+XnTjVBGo/V8ny1FRPAs1YiAyuhpwwdFPxu/ckc52JgKVWnSezWGU0+ t65g== X-Received: by 10.236.132.74 with SMTP id n50mr16131687yhi.20.1386608627613; Mon, 09 Dec 2013 09:03:47 -0800 (PST) Received: from goober.local ([75.76.228.60]) by mx.google.com with ESMTPSA id f78sm17212294yhp.12.2013.12.09.09.03.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 09 Dec 2013 09:03:46 -0800 (PST) Message-ID: <52A5F7F2.5030800@gmail.com> Date: Mon, 09 Dec 2013 11:03:46 -0600 From: John Weber User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org References: <1386605416-19779-1-git-send-email-rjohnweber@gmail.com> <52A5EF29.3040902@mlbassoc.com> <52A5EFA1.5060806@gmail.com> <52A5F142.70807@mlbassoc.com> <52A5F3BA.3030502@gmail.com> <52A5F58A.4080301@mlbassoc.com> <52A5F6F0.9080109@mlbassoc.com> In-Reply-To: Subject: Re: [meta-fsl-arm][PATCH] u-boot-fslc: Add tag to git SRC_URI 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: Mon, 09 Dec 2013 17:03:49 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 12/9/13 11:00 AM, Otavio Salvador wrote: > On Mon, Dec 9, 2013 at 2:59 PM, Gary Thomas wrote: >> On 2013-12-09 09:55, Otavio Salvador wrote: >>> On Mon, Dec 9, 2013 at 2:53 PM, Gary Thomas wrote: >>>>>> Do you have an use example where you'd need it? >>>>>> >>>>> I think he means to do something like this: >>>>> >>>>> GITTAG ??= "patches-2013.10" >>>>> SRC_URI = "git://github.com/Freescale/u-boot-imx.git;tag=${GITTAG}" >>>>> >>>>> This way he can override GITTAG in his .bbappend, correct? >>>> >>>> Correct. The ??= isn't even necessary since the .bbappend can >>>> always override it. >>> >>> In this case you're using an old version of the bootloader in your >>> internal BSP, right? I'd expect you to add an .bb file for this >>> version instead and use PREFERRED_VERSION to use it. >> >> Why should I do that when .bbappend works perfectly well? I can also >> see this as a case when new boards are added or old ones are still >> around and they get updated on different schedules. >> >> Also, what does it hurt to be flexible? > In this case you'd have a 2013.10 recipe building/installing a 2013.04 > version for example, this is misleading and confusing for someone > using the BSP. > I sent a v2 so that the tag is able to be overridden. Otavio can make the call if he would like to take the original or the v2. It seems to me that it might be good to separate the SRC_URI into a .inc file for U-boot the way it is done for the kernel.