[OE-core] [PATCH] u-boot: update to 2013.07

Martin Jansa martin.jansa at gmail.com
Tue Aug 27 20:08:17 UTC 2013


On Tue, Aug 27, 2013 at 03:57:09PM -0400, Randy MacLeod wrote:
> On 13-08-23 05:48 AM, Laszlo Papp wrote:
> > Signed-off-by: Laszlo Papp <lpapp at kde.org>
> > ---
> >   meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb | 27 +++++++++++++++++++++++
> >   meta/recipes-bsp/u-boot/u-boot_2013.07.bb         | 23 +++++++++++++++++++
> >   2 files changed, 50 insertions(+)
> >   create mode 100644 meta/recipes-bsp/u-boot/u-boot-mkimage_2013.07.bb
> >   create mode 100644 meta/recipes-bsp/u-boot/u-boot_2013.07.bb
> >
> ...
> > diff --git a/meta/recipes-bsp/u-boot/u-boot_2013.07.bb b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
> > new file mode 100644
> > index 0000000..f3f4b62
> > --- /dev/null
> > +++ b/meta/recipes-bsp/u-boot/u-boot_2013.07.bb
> > @@ -0,0 +1,23 @@
> > +require u-boot.inc
> > +
> > +# To build u-boot for your machine, provide the following lines in your machine
> > +# config, replacing the assignments as appropriate for your machine.
> > +# UBOOT_MACHINE = "omap3_beagle_config"
> > +# UBOOT_ENTRYPOINT = "0x80008000"
> > +# UBOOT_LOADADDRESS = "0x80008000"
> > +
> > +LICENSE = "GPLv2+"
> > +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
> > +                    file://README;beginline=1;endline=22;md5=78b195c11cb6ef63e6985140db7d7bab"
> > +
> > +# This revision corresponds to the tag "v2013.07"
> > +# We use the revision in order to avoid having to fetch it from the repo during parse
> > +SRCREV = "62c175fbb8a0f9a926c88294ea9f7e88eb898f6c"
> > +
> > +PV = "v2013.07+git${SRCPV}"
> > +
> > +SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
> 
> Just curious...
> I dont' see a good reason to specify the git protocol twice:
>     git://.... and ; protocol=git

It's not twice, git:// is to select bitbake fetcher (git.py) and one
fetcher can support multiple protocols (e.g. over git, http or ssh)

but you're right that in most cases "protocol=git" isn't needed, because
it's default protocol for git fetcher when host is specified in that
SRC_URI.

bitbake/lib/bb/fetch2/git.py:
        if 'protocol' in ud.parm:
            ud.proto = ud.parm['protocol']
        elif not ud.host:
            ud.proto = 'file'
        else:
            ud.proto = "git"

And I would support removing it in one go as it clearly confuses people
:).

> 
> This occurs in many recipes and we could get rid of the clutter
> with a script if it bothers anyone else. :)
> 
> Am I missing something or are people just copying and pasting the text?
> 
> // Randy
> 
> > +
> > +S = "${WORKDIR}/git"
> > +
> > +PACKAGE_ARCH = "${MACHINE_ARCH}"
> >
> 
> 
> -- 
> # Randy MacLeod. SMTS, Linux, Wind River
> Direct: 613.963.1350
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130827/42687d3b/attachment-0002.sig>


More information about the Openembedded-core mailing list