From patchwork Wed Dec 23 08:16:49 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Dickinson X-Patchwork-Id: 560388 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id D8571140BDD for ; Wed, 23 Dec 2015 19:17:26 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 0C7B1289CCF; Wed, 23 Dec 2015 09:16:54 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 8B95D284637 for ; Wed, 23 Dec 2015 09:16:42 +0100 (CET) X-policyd-weight: using cached result; rate:hard: -8.5 Received: from s1.neomailbox.net (s1.neomailbox.net [5.148.176.57]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Wed, 23 Dec 2015 09:16:42 +0100 (CET) From: openwrt@daniel.thecshore.com To: openwrt-devel@lists.openwrt.org Date: Wed, 23 Dec 2015 03:16:49 -0500 Message-Id: <1450858609-41938-2-git-send-email-openwrt@daniel.thecshore.com> In-Reply-To: <1450858609-41938-1-git-send-email-openwrt@daniel.thecshore.com> References: <1450858609-41938-1-git-send-email-openwrt@daniel.thecshore.com> Subject: [OpenWrt-Devel] [PATCH] config: Add option to make crypto default when there is an config option for it X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" From: Daniel Dickinson 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 --- 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"