[oe] Building against a local git repo

Klaus 'mrmoku' Kurzmann mok at mnet-online.de
Thu Jun 25 05:25:32 UTC 2009


Am Donnerstag 25 Juni 2009 04:05:59 schrieb Michael Smith:
> Hi,
>
> I think in the past couple of months someone posted a trick for building
> out of an existing source directory, so changes can easily be gathered up
> and committed.
>
> Basically, for local projects I'd like to occasionally break out of a
> development cycle of (edit, commit, push, bitbake) * n and just do (edit,
> bitbake) * n with a final commit and push at the end.
>
> I remember the trick was being used for kernel development, and may have
> involved mangling S or WORKDIR, but that's about it; hoping someone might
> remember and save me some more hours scouring the archives :)
What I do is to have the following in local.conf:
SRC_URI_pn-libframeworkd-phonegui-efl2 = "file:///path/to/your/source/libframeworkd-phonegui-efl2"
SRCREV_pn-libframeworkd-phonegui-efl2 = "LOCAL"
S_pn-libframeworkd-phonegui-efl2 = "${WORKDIR}/${PN}"

Works like a charm :)

>
> Thanks,
> Mike
>

-- 

Klaus 'mrmoku' Kurzmann




More information about the Openembedded-devel mailing list