From: Gary Thomas <gary@mlbassoc.com>
To: meta-freescale@yoctoproject.org
Subject: Re: [meta-fsl-arm][PATCH] u-boot-fslc: Add tag to git SRC_URI
Date: Mon, 09 Dec 2013 09:53:30 -0700 [thread overview]
Message-ID: <52A5F58A.4080301@mlbassoc.com> (raw)
In-Reply-To: <52A5F3BA.3030502@gmail.com>
On 2013-12-09 09:45, John Weber wrote:
>
> On 12/9/13 10:35 AM, Otavio Salvador wrote:
>> Hello Gary,
>>
>> On Mon, Dec 9, 2013 at 2:35 PM, Gary Thomas <gary@mlbassoc.com> wrote:
>>> On 2013-12-09 09:28, John Weber wrote:
>>>> On 12/9/13 10:26 AM, Gary Thomas wrote:
>>>>> On 2013-12-09 09:10, John Weber wrote:
>>>>>> From: Dan McGregor <danismostlikely@gmail.com>
>>>>>>
>>>>>> Bitbake now checks for the commit in the master branch by default.
>>>>>> Explictly set the tag where SRCREV is expected.
>>>>>>
>>>>>> Signed-off-by: John Weber <rjohnweber@gmail.com>
>>>>>> ---
>>>>>> recipes-bsp/u-boot/u-boot-fslc_2013.10.bb | 2 +-
>>>>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>>>>
>>>>>> diff --git a/recipes-bsp/u-boot/u-boot-fslc_2013.10.bb
>>>>>> b/recipes-bsp/u-boot/u-boot-fslc_2013.10.bb
>>>>>> index 73d4371..56c3265 100644
>>>>>> --- a/recipes-bsp/u-boot/u-boot-fslc_2013.10.bb
>>>>>> +++ b/recipes-bsp/u-boot/u-boot-fslc_2013.10.bb
>>>>>> @@ -11,7 +11,7 @@ PROVIDES += "u-boot"
>>>>>> PV = "v2013.10"
>>>>>>
>>>>>> SRCREV = "079e214888279518ce061c71238a74a0c3db2c28"
>>>>>> -SRC_URI = "git://github.com/Freescale/u-boot-imx.git"
>>>>>> +SRC_URI =
>>>>>> "git://github.com/Freescale/u-boot-imx.git;tag=patches-2013.10"
>>>>>>
>>>>>> S = "${WORKDIR}/git"
>>>>>>
>>>>>>
>>>>>
>>>>> Can you please change this so the branch name can be overridden, as
>>>>> in the patches I sent for the other recipes?
>>>>>
>>>> Hi Gary - I'm not sure if that would be useful since the u-boot recipe
>>>> does not depend on a .inc file. Where would the override come from?
>>>
>>> From .bbappend files in my layers (I have a private BSP layer which
>>> extend the meta-fsl-arm* layers).
>> I think what John means is that you'll end rewriting the SRC_URI, no?
>>
>> 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.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
next prev parent reply other threads:[~2013-12-09 16:52 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-09 16:10 [meta-fsl-arm][PATCH] u-boot-fslc: Add tag to git SRC_URI John Weber
2013-12-09 16:26 ` Gary Thomas
2013-12-09 16:28 ` John Weber
2013-12-09 16:35 ` Gary Thomas
2013-12-09 16:35 ` Otavio Salvador
2013-12-09 16:45 ` John Weber
2013-12-09 16:53 ` Gary Thomas [this message]
2013-12-09 16:55 ` Otavio Salvador
2013-12-09 16:59 ` Gary Thomas
2013-12-09 17:00 ` Otavio Salvador
2013-12-09 17:03 ` John Weber
2013-12-09 17:05 ` Otavio Salvador
2013-12-09 17:05 ` Gary Thomas
2013-12-09 17:10 ` Otavio Salvador
2013-12-09 17:31 ` Gary Thomas
2013-12-09 17:58 ` Otavio Salvador
2013-12-09 16:38 ` John Weber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52A5F58A.4080301@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.