浏览代码

doc: Add txt document for the new package-specific FLAT_STACKSIZE option.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Sonic Zhang 12 年之前
父节点
当前提交
51dea66f96
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      docs/manual/adding-packages-generic.txt

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

@@ -342,6 +342,12 @@ information is (assuming the package name is +libfoo+) :
   non-opensource packages: Buildroot will not save the source code for this
   package when collecting the +legal-info+.
 
+* +LIBFOO_FLAT_STACKSIZE+ defines the stack size of an application built into
+  the FLAT binary format. The application stack size on the NOMMU architecture
+  processors can't be enlarged at run time. The default stack size for the
+  FLAT binary format is only 4k bytes. If the application consumes more stack,
+  append the required number here.
+
 The recommended way to define these variables is to use the following
 syntax: