[OpenWrt-Devel] [PATCH] config: Add option to make crypto default when there is an config option for it

openwrt at daniel.thecshore.com openwrt at daniel.thecshore.com
Thu Dec 24 19:02:47 EST 2015


From: Daniel Dickinson <openwrt at daniel.thecshore.com>

This package is primarily for the packages and other feeds as
base already builds both encrypted/ssl versions and non-encrypted/ssl
versions of packages where there is the options and/or already uses
encryption where it is an option.

In the feeds there are number of packages which provide configuration
options to enable building with encryption but which do not provide
both encrypted/ssl flavours and unenecrypted/non-ssl flavours.

This configuration option is intended to allow for modifying those
packages so that one can enable ssl/encryption for all of those
packages at once, just by selecting this configuation option (i.e.
selection this option turn on the ssl/encryption configuration
options for those packages by default).

Long-term ideal is to move all packages to flavours, but that will
take more time and effort and this interim solution will make life
easier in the meantime.

Signed-off-by: Daniel Dickinson <openwrt at daniel.thecshore.com>
---
 config/Config-build.in | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/config/Config-build.in b/config/Config-build.in
index 2523a18..1a35c5d 100644
--- a/config/Config-build.in
+++ b/config/Config-build.in
@@ -65,6 +65,16 @@ menu "Global build settings"
 		  Useful for release builds, so that kernel issues can be debugged offline
 		  later.
 
+	config CRYPTO_DEFAULT
+		bool
+		prompt "Enable SSL/Encryption by default for non-flavoured packages"
+		default n
+		help
+		  This defaults to using encryption when there are packages to have an
+                  option to use or not use encryption, but which do not have both
+                  encrypted and unencrypted flavours, even when the encryption library
+                  is a 'heavier' one such as OpenSSL.
+
 	comment "Kernel build options"
 
 	source "config/Config-kernel.in"
-- 
2.4.3
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list