[buildgear-devel] Suggestion for making a proper build system
Martin Lund
martin.lund at keep-it-simple.com
Thu Jul 3 15:52:23 MDT 2014
Hi Prabhakar,
Currently, buildgear does not have git source target support.
The main reason that git support has not been added is that, until
recently, there has been no pretty nor simple way of integrating git
support directly into the buildgear download manager. However, with the
emergence and maturity of the libgit2 project it looks like there is now
a clean cut way of adding git source target support directly into
buildgear and have any git output streamlined to make it look consistent
with the existing download manager output.
So, in the future, buildgear might support pretty git source targets
such as source=(git://example.com/myrepo.git#my-sha-id)
But for now, it is possible to make use of git by simply adding your git
clone command directly in the build() function. For example:
build() {
git clone git://example.com/myrepo.git
cd myrepo
git checkout my-sha-id
configure/make etc..
}
Hope that helps.
Br, Martin
On 2014-07-03 11:52, Prabhakar Lad wrote:
> Hi,
>
> I am planning to use buildgear for one of our project, looking at the
> sample panda-board git repo
> all the sources for example (linux/uboot) are of the tar format but in
> our case the what i was planning to have the linux/uboot sources as
> part of git repo and its on server In that case I need a suggestion on
> how do I add it to buildgear ?
>
> Any pointers might be helpful!
>
> Thanks & Regards,
> --Prabhakar Lad
>
> _______________________________________________
> buildgear-devel mailing list
> buildgear-devel at buildgear.org
> http://buildgear.org/mailman/listinfo/buildgear-devel_buildgear.org
More information about the buildgear-devel
mailing list