diff mbox

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

Message ID 1450858609-41938-2-git-send-email-openwrt@daniel.thecshore.com
State Changes Requested
Headers show

Commit Message

Daniel Dickinson Dec. 23, 2015, 8:16 a.m. UTC
From: Daniel Dickinson <openwrt@daniel.thecshore.com>

This patch it mostly for SDK builds since base packages seem to all have
PolarSSL support as an option and but there are packages in the feeds that
have the property of offering a configuration option for building with or without
crypto support, but which do not go so far as to build both flavours.

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

Comments

Daniel Dickinson Dec. 23, 2015, 8:58 a.m. UTC | #1
Erg, reversed the texts of the commit and the comment.  Will resend so 
the commit message actually makes sense (but not tonight likely).

Regards,

Daniel

On 23/12/15 03:16 AM, openwrt@daniel.thecshore.com wrote:
> From: Daniel Dickinson <openwrt@daniel.thecshore.com>
>
> This patch it mostly for SDK builds since base packages seem to all have
> PolarSSL support as an option and but there are packages in the feeds that
> have the property of offering a configuration option for building with or without
> crypto support, but which do not go so far as to build both flavours.
>
> Signed-off-by: Daniel Dickinson <openwrt@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"
>
diff mbox

Patch

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"