<pkg>-rsync: exclude version control files
authorThomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>
Fri, 1 Mar 2013 10:26:38 +0000 (10:26 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 17 Mar 2013 13:40:23 +0000 (14:40 +0100)
commit3b681efa4c2910c020662c1510efb4ee17008a17
tree4c9046814d40458de35abb978b517900f2ed535e
parent58917a65dc6ec987621fc07c865322cdef0ddb7f
<pkg>-rsync: exclude version control files

When using rsync to import package sources (typically with
PKG_OVERRIDE_SRCDIR), it often happens that these external sources
are under version control, and contain directories like .git,
.hg, etc.

Depending on the project, these directories can become pretty large
and typically have a lot of files. Moreover, they are not necessary
in the context of building the package. Therefore, this commit adds
the --cvs-exclude option to the rsync call, saving both disk space
and sync time.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/pkg-generic.mk