diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-11 12:07:17 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-11 12:07:17 +0000 |
commit | 75ac488f4d89a547984b7baff50a41576e8ccb0f (patch) | |
tree | c23b455ceb1e9a9ba516d3d894b7db27d6ada383 | |
parent | 83f9fc12d6636819f12efeeace894d742d0eeea8 (diff) | |
download | mtk-20170518-75ac488f4d89a547984b7baff50a41576e8ccb0f.zip mtk-20170518-75ac488f4d89a547984b7baff50a41576e8ccb0f.tar.gz mtk-20170518-75ac488f4d89a547984b7baff50a41576e8ccb0f.tar.bz2 |
openvpn: make size optimization configurable
Signed-off-by: Christoph Kottke <christoph.kottke@gmx.de>
SVN-Revision: 39872
4 files changed, 22 insertions, 1 deletions
diff --git a/package/network/services/openvpn/Config-nossl.in b/package/network/services/openvpn/Config-nossl.in index 98cba25..3eaa228 100644 --- a/package/network/services/openvpn/Config-nossl.in +++ b/package/network/services/openvpn/Config-nossl.in @@ -44,4 +44,11 @@ config OPENVPN_nossl_ENABLE_IPROUTE2 bool "Enable support for iproute2" default n +config OPENVPN_nossl_ENABLE_SMALL + bool "Enable size optimization" + default y + help + enable smaller executable size (disable OCC, usage + message, and verb 4 parm list) + endif diff --git a/package/network/services/openvpn/Config-openssl.in b/package/network/services/openvpn/Config-openssl.in index 6686121..ac4c774 100644 --- a/package/network/services/openvpn/Config-openssl.in +++ b/package/network/services/openvpn/Config-openssl.in @@ -56,4 +56,11 @@ config OPENVPN_openssl_ENABLE_IPROUTE2 bool "Enable support for iproute2" default n +config OPENVPN_openssl_ENABLE_SMALL + bool "Enable size optimization" + default y + help + enable smaller executable size (disable OCC, usage + message, and verb 4 parm list) + endif diff --git a/package/network/services/openvpn/Config-polarssl.in b/package/network/services/openvpn/Config-polarssl.in index 64c4497..26692ce 100644 --- a/package/network/services/openvpn/Config-polarssl.in +++ b/package/network/services/openvpn/Config-polarssl.in @@ -56,4 +56,11 @@ config OPENVPN_polarssl_ENABLE_IPROUTE2 bool "Enable support for iproute2" default n +config OPENVPN_polarssl_ENABLE_SMALL + bool "Enable size optimization" + default y + help + enable smaller executable size (disable OCC, usage + message, and verb 4 parm list) + endif diff --git a/package/network/services/openvpn/Makefile b/package/network/services/openvpn/Makefile index f6c4381..a05248c 100644 --- a/package/network/services/openvpn/Makefile +++ b/package/network/services/openvpn/Makefile @@ -66,7 +66,7 @@ CONFIGURE_VARS += \ define Build/Configure $(call Build/Configure/Default, \ - --enable-small \ + $(if $(CONFIG_OPENVPN_$(BUILD_VARIANT)_ENABLE_SMALL),--enable-small) \ --disable-selinux \ --disable-systemd \ --disable-plugins \ |