aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jan Kundrát <jan.kundrat@cesnet.cz>2019-06-10 15:37:12 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-06-23 22:16:21 +0200
commit17729645c61209e9dd042d24eb1cc9009709ecaa (patch)
tree9d46c3ff8cf8f49cd08467030c243cc8d100a310
parent269e89be986bcc6e52c725e7bb676cb70b67ae02 (diff)
downloadbuildroot-17729645c61209e9dd042d24eb1cc9009709ecaa.tar.gz
buildroot-17729645c61209e9dd042d24eb1cc9009709ecaa.tar.bz2
docs: use-case for un-ignoring VCS directories and overridden source dir
Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz> Suggested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Fixes: a27078d32d Allow overriding the VCS exclude list with *_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (cherry picked from commit f52809cbd2329dabb7ce98683ca884ca04c118f0) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--docs/manual/using-buildroot-development.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/manual/using-buildroot-development.txt b/docs/manual/using-buildroot-development.txt
index 65a9f1a3f7..da6dd822fb 100644
--- a/docs/manual/using-buildroot-development.txt
+++ b/docs/manual/using-buildroot-development.txt
@@ -109,3 +109,13 @@ WEBKITGTK_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS = \
--exclude WebDriverTests --exclude WebKitBuild --exclude WebKitLibraries \
--exclude WebKit.xcworkspace --exclude Websites --exclude Examples
------------------
+
+By default, Buildroot skips syncing of VCS artifacts (e.g., the *.git* and
+*.svn* directories). Some packages prefer to have these VCS directories
+available during build, for example for automatically determining a precise
+commit reference for version information. To undo this built-in filtering at a
+cost of a slower speed, add these directories back:
+
+------------------
+LINUX_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS = --include .git
+------------------