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

Daniel Dickinson openwrt at daniel.thecshore.com
Wed Dec 23 03:58:37 EST 2015


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 at daniel.thecshore.com wrote:
> From: Daniel Dickinson <openwrt at 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 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"
>
_______________________________________________
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