[oe] How to handle a http git repository

Andreas Mueller schnitzeltony at gmx.de
Wed Apr 13 22:46:05 UTC 2011


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
}

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




More information about the Openembedded-devel mailing list