hi, this add the configure switch "--enable-small" as an option in menuconfig.
christoph
>From 9a0f35869c10313ce23dad408f79e8c3716788e7 Mon Sep 17 00:00:00 2001 From: Christoph Kottke <christoph.kot...@gmx.de> Date: Tue, 11 Feb 2014 17:29:05 +0100 Subject: [PATCH] [openvpn] add --enable-small as an option Signed-off-by: Christoph Kottke <christoph.kot...@gmx.de> --- package/network/services/openvpn/Config-nossl.in | 4 ++++ package/network/services/openvpn/Config-openssl.in | 4 ++++ package/network/services/openvpn/Config-polarssl.in | 4 ++++ package/network/services/openvpn/Makefile | 2 +- 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/package/network/services/openvpn/Config-nossl.in b/package/network/services/openvpn/Config-nossl.in index 98cba25..e4b34e0 100644 --- a/package/network/services/openvpn/Config-nossl.in +++ b/package/network/services/openvpn/Config-nossl.in @@ -44,4 +44,8 @@ config OPENVPN_nossl_ENABLE_IPROUTE2 bool "Enable support for iproute2" default n +config OPENVPN_nossl_ENABLE_SMALL + bool "Enable small footprint (--enable-small)" + default y + endif diff --git a/package/network/services/openvpn/Config-openssl.in b/package/network/services/openvpn/Config-openssl.in index 6686121..6be01cd 100644 --- a/package/network/services/openvpn/Config-openssl.in +++ b/package/network/services/openvpn/Config-openssl.in @@ -56,4 +56,8 @@ config OPENVPN_openssl_ENABLE_IPROUTE2 bool "Enable support for iproute2" default n +config OPENVPN_openssl_ENABLE_SMALL + bool "Enable small footprint (--enable-small)" + default y + endif diff --git a/package/network/services/openvpn/Config-polarssl.in b/package/network/services/openvpn/Config-polarssl.in index 64c4497..5454b7a 100644 --- a/package/network/services/openvpn/Config-polarssl.in +++ b/package/network/services/openvpn/Config-polarssl.in @@ -56,4 +56,8 @@ config OPENVPN_polarssl_ENABLE_IPROUTE2 bool "Enable support for iproute2" default n +config OPENVPN_polarssl_ENABLE_SMALL + bool "Enable small footprint (--enable-small)" + default y + endif diff --git a/package/network/services/openvpn/Makefile b/package/network/services/openvpn/Makefile index f6c4381..056b612 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)_SMALL),--enable-small) \ --disable-selinux \ --disable-systemd \ --disable-plugins \ -- 1.7.10.4
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel