[Buildroot] [PATCH 02/15] package: enhance infrastructure to support source dir override

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Sep 2 11:21:03 UTC 2011


Hello,

Le Fri, 2 Sep 2011 12:02:44 +0200,
Arnout Vandecappelle <arnout at mind.be> a écrit :

> On Wednesday 31 August 2011 23:31:10, Thomas Petazzoni wrote:
> > Those <pkg>_OVERRIDE_SRCDIR variables will be defined by a local
> > makefile included by Buildroot, which will be handled in a later
> > commit.
> 
>  Or on the make command line...

Good point.

>  I use rsync -rltDO --exclude=.svn --exclude=.git:
> 
>  * -rltD instead of -a because I don't want to keep group, owner and 
> permissions (otherwise you'll probably have to fixup permissions
> anyway).
> 
>  * -O because otherwise the directory times will be reset to the
> past, which does not correspond to reality if there are still object
> files lying around. If there would be a dependency on a directory, it
> will be incorrect.
> 
>  * --exclude=.git: if you're doing this for the kernel, you know
> why :-) There should probably be a --exclude=.hg as well.

Sounds like reasonable comments, I'll integrate this for the next
version.

Have you actually tested the patches or are those comments just based
on review?

Thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list