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

Message ID
State Accepted
Commit 51dea66f96b5c00433070ef126d829292b3cad97
Headers show

Commit Message

Sonic Zhang June 6, 2013, 8:47 a.m.
From: Sonic Zhang <>

Signed-off-by: Sonic Zhang <>
 docs/manual/adding-packages-generic.txt |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)


Peter Korsgaard June 6, 2013, 8:28 p.m. | #1
>>>>> "Sonic" == Sonic Zhang <> writes:

 Sonic> From: Sonic Zhang <>
 Sonic> Signed-off-by: Sonic Zhang <>

Committed, thanks.


diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt
index a615ae2..20d5483 100644
--- a/docs/manual/adding-packages-generic.txt
+++ b/docs/manual/adding-packages-generic.txt
@@ -330,6 +330,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