]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
Allow adding per-package override rsync exclusions
authorAdrian Perez de Castro <aperez@igalia.com>
Wed, 8 Nov 2017 13:26:41 +0000 (15:26 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 1 Apr 2018 15:05:35 +0000 (17:05 +0200)
commit94e80d78cf22fd4daa047b42467638e3164874ee
tree83625957b95368fef7f14b38de7779a49856d2e9
parent888404d7fb940afef28ac368a84117da987ea59c
Allow adding per-package override rsync exclusions

This allows using <PKG>_SRCDIR_OVERRIDE_RSYNC_EXCLUSIONS in local.mk to
skip copying parts of source trees unneeded for building. For example,
when developing WebKitGTK+, it's handy to skip copying all the tests and
other build directories, which are huge:

    WEBKITGTK_OVERRIDE_SRCDIR = /home/aperez/WebKit
    WEBKITGTK_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS = \
        --exclude JSTests --exclude ManualTests \
--exclude PerformanceTests --exclude WebDriverTests \
--exclude WebKitBuild --exclude WebKitLibraries \
--exclude WebKit.xcworkspace --exclude Websites \
--exclude Examples

This saves a good chunk of time when rsync is used for the first time to
copy the source tree over before building.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
[Arnout: move documentation to the end of the section]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
docs/manual/using-buildroot-development.txt
package/pkg-generic.mk