[Buildroot] [PATCH v2] buildroot:download: Add option to download SVN or GIT repository with version control information.

Daniel Nyström daniel.nystrom at timeterminal.se
Mon Dec 20 11:37:27 UTC 2010


>>  Allow the user to write a "local.mk" file that gets included before
>>  any package .mk file. In this "local.mk" file, the user can define
>>  variables such as DIRECTFB_OVERRIDE_SOURCE_DIR=/home/foobar/directfb/.
>>  The package infrastructure would of course be modified to take into
>>  account this new variable, and use the given directory as the source
>>  tree to compile the DirectFB package.
>>
>> Again, that's a rough scheme, but at least it should solve your use
>> case, but also the use case brought by Mike who wanted to specify a
>> custom source tree for the kernel.
>>
>> Does that make sense ? Would it solve your use case ?
>
> Yes, this helps developers who has some separate local source trees.
> But it is not as convenient as automatically storing svn/git tree in
> download folder mentioned above, when you want to check out complete
> sources trees in a distribution at once. If this is something
> buildroot Makefile can help?

Another great benefit of setting path to local source trees, is that
you may want to do some trial and error without flooding your commit
log.


More information about the buildroot mailing list