diff mbox series

[2/3] menuconfig: Add CONFIG_BUILD_DOCUMENTATION

Message ID mailman.4488.1621033861.1230.openwrt-devel@lists.openwrt.org
State Deferred
Delegated to: Petr Štetiar
Headers show
Series ccache: Disable Documentation build ( fix 21.02 build failure ) | expand

Commit Message

David Adair May 14, 2021, 11:10 p.m. UTC
The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.

To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.
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@aol.com>
---
 config/Config-build.in | 9 +++++++++
 1 file changed, 9 insertions(+)
diff mbox series

Patch

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