[PATCH 2/3] menuconfig: Add CONFIG_BUILD_DOCUMENTATION
David Adair
djabhead at aol.com
Fri May 14 16:10:53 PDT 2021
This provides a way to override the ccache ENABLE_DOCUMENTATION=OFF
setting and restore previous behavior. It is optional since the
default required to disable the doc build (and avoid the non-ascii
character build failures) is !="y".
It could potentially be useful:
- If we want the default to be "y"
- To supress docs on other packages. Would be most useful for the
autoconf based tools but I could not figure out an easy way to
accomplish that.
Signed-off-by: David Adair <djabhead at aol.com>
---
config/Config-build.in | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/config/Config-build.in b/config/Config-build.in
index 342859b7c0..adfb39d1b2 100644
--- a/config/Config-build.in
+++ b/config/Config-build.in
@@ -58,6 +58,15 @@ menu "Global build settings"
bool "Enable signature checking in opkg"
default SIGNED_PACKAGES
+ config BUILD_DOCUMENTATION
+ bool "Enable man/info components in builds"
+ default n
+ help
+ This option enables the build of doc and man pages in
+ components which allow conditional building of docs.
+ If unsure select "n" since we do not install
+ documentation in the target anyway.
+
comment "General build options"
config TESTING_KERNEL
--
2.27.0
More information about the openwrt-devel
mailing list