Diffstat (limited to 'docs/manual/adding-packages-generic.txt')
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt
index de8aca20b5..f18465b851 100644
@@ -310,6 +310,12 @@ information is (assuming the package name is +libfoo+) :
the package source code. Buildroot copies the contents of the
source directory into the package's build directory.
+* +LIBFOO_GIT_SUBMODULES+, when +LIBFOO_SITE_METHOD=git+, will create
+ an archive with the git submodules in the repository.
+ Note that we try not to use such git submodules when they contain
+ bundled libraries, in which case we prefer to use those libraries
+ from their own package.
* +LIBFOO_STRIP_COMPONENTS+ is the number of leading components
(directories) that tar must strip from file names on extraction.
The tarball for most packages has one leading component named