瀏覽代碼

docs/manual: document FOO_GIT_SUBMODULE

[Peter: fix typo as noticed by Samuel]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Yann E. MORIN 9 年之前
父節點
當前提交
02f0878078
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      docs/manual/adding-packages-generic.txt

+ 6 - 0
docs/manual/adding-packages-generic.txt

@@ -310,6 +310,12 @@ information is (assuming the package name is +libfoo+) :
      the package source code. Buildroot copies the contents of the
      the package source code. Buildroot copies the contents of the
      source directory into the package's build directory.
      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
 * +LIBFOO_STRIP_COMPONENTS+ is the number of leading components
   (directories) that tar must strip from file names on extraction.
   (directories) that tar must strip from file names on extraction.
   The tarball for most packages has one leading component named
   The tarball for most packages has one leading component named