openvpn: make size optimization configurable
Signed-off-by: Christoph Kottke <christoph.kottke@gmx.de> SVN-Revision: 39872
This commit is contained in:
parent
83f9fc12d6
commit
75ac488f4d
@ -44,4 +44,11 @@ config OPENVPN_nossl_ENABLE_IPROUTE2
|
|||||||
bool "Enable support for iproute2"
|
bool "Enable support for iproute2"
|
||||||
default n
|
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
|
endif
|
||||||
|
@ -56,4 +56,11 @@ config OPENVPN_openssl_ENABLE_IPROUTE2
|
|||||||
bool "Enable support for iproute2"
|
bool "Enable support for iproute2"
|
||||||
default n
|
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
|
endif
|
||||||
|
@ -56,4 +56,11 @@ config OPENVPN_polarssl_ENABLE_IPROUTE2
|
|||||||
bool "Enable support for iproute2"
|
bool "Enable support for iproute2"
|
||||||
default n
|
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
|
endif
|
||||||
|
@ -66,7 +66,7 @@ CONFIGURE_VARS += \
|
|||||||
|
|
||||||
define Build/Configure
|
define Build/Configure
|
||||||
$(call Build/Configure/Default, \
|
$(call Build/Configure/Default, \
|
||||||
--enable-small \
|
$(if $(CONFIG_OPENVPN_$(BUILD_VARIANT)_ENABLE_SMALL),--enable-small) \
|
||||||
--disable-selinux \
|
--disable-selinux \
|
||||||
--disable-systemd \
|
--disable-systemd \
|
||||||
--disable-plugins \
|
--disable-plugins \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user