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 | 402a931919b2243d7ebbc5c3ea7b0ccf4a7e59d7 (patch) | |
tree | 8c4120f96236aacf05b94138560df784f52a19d5 /package/network | |
parent | 20937631bf6e2653a07fe52b7a53a25da02793b6 (diff) | |
download | upstream-402a931919b2243d7ebbc5c3ea7b0ccf4a7e59d7.tar.gz upstream-402a931919b2243d7ebbc5c3ea7b0ccf4a7e59d7.tar.bz2 upstream-402a931919b2243d7ebbc5c3ea7b0ccf4a7e59d7.zip |
openvpn: make size optimization configurable
Signed-off-by: Christoph Kottke <christoph.kottke@gmx.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39872 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network')
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 98cba25cc0..3eaa228882 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 66861219df..ac4c774b03 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 64c4497241..26692ce04d 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 f6c4381b09..a05248c132 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 \ |