[oe] How to handle a http git repository

Khem Raj raj.khem at gmail.com
Wed Apr 13 22:59:01 UTC 2011


On Wed, Apr 13, 2011 at 3:46 PM, Andreas Mueller <schnitzeltony at gmx.de> wrote:
> Hi,
>
> I would like to build  u-boot for freescale iMX28 with OE.  There is u-boot
> support available at
>
> http://opensource.freescale.com/pub/scm/imx/uboot-imx.git/
>
> Problem is that it links to the *files* of a git repo not to the repo itself. A
> manual git clone works but I do not find a good approach fetching the repo in OE.
>
> I could do something like
>
> do_fetch () {
>        cd ${WORKDIR}
>        git clone http://opensource.freescale.com/pub/scm/imx/uboot-imx.git
>        cd uboot-imx
>        git checkout imx_v2009.08_10.12.01
> }
>

SRC_URI = "git://opensource.freescale.com/pub/scm/imx/uboot-imx.git;protocol=http;tag=imx_v2009.08_10.12.01"

> but (one of) the great disadvantage(s) of this hack is fetching on every build.
>
> Can anybody help me with a hint?
>
> Thanks in advance
>
> Andreas
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list