path: root/config/global
diff options
authorYann E. MORIN" <>2011-11-15 21:06:21 (GMT)
committerMichael Hope <>2011-11-15 21:06:21 (GMT)
commit74d555b2c37f796e5912858ab16968587c691b22 (patch)
treeecad8e1b5b3a0a7b1f0ada7c1bdb836e3ad95713 /config/global
parent81e06b9e15c588c27ed4c31787781eed95250722 (diff)
scripts: add support for building manuals
Add support for building the HTML and PDF manuals for the major components. Implement for binutils, GCC, GDB, and GLIBC. Always build all manuals and install a subset. Be explicit about the subset to reduce the clutter and to avoid getting copies of common manuals like bfd from all of the sourceware based components. Downside of being explicit is that you need to update it when a new component comes along. Build the manuals as part of the last GCC build, namely 'cc' for glibc based ones and cc_core_pass_2 for baremetal. An example of the output is at: Signed-off-by: Michael Hope <> [ depends on ! remove docs; gold manual install] Signed-off-by: "Yann E. MORIN" <>
Diffstat (limited to 'config/global')
1 files changed, 8 insertions, 0 deletions
diff --git a/config/global/ b/config/global/
index f7766da..ed26dfc 100644
--- a/config/global/
+++ b/config/global/
@@ -90,6 +90,14 @@ config REMOVE_DOCS
Remove the installed documentation (man and info pages).
Gains around 8MiB for a uClibc-based, C and C++ compiler.
+ bool
+ prompt "Build the manuals"
+ depends on ! REMOVE_DOCS
+ help
+ Build the PDF and HTML manuals for the main components such as
+ binutils, GCC, GDB, and the C library.
prompt "Render the toolchain read-only"