aboutsummaryrefslogtreecommitdiffstats
path: root/package/openvpn/Makefile
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2006-02-28 07:31:29 +0000
committerFlorian Fainelli <florian@openwrt.org>2006-02-28 07:31:29 +0000
commit8408c72ba41d0a2f575fea508e151bb5d772d30f (patch)
tree3a6187dc31d83ae2cbda359be58900a607eb4ba7 /package/openvpn/Makefile
parent03f60edcd8aceb478b1114a0410c77f7b68c8f07 (diff)
downloadupstream-8408c72ba41d0a2f575fea508e151bb5d772d30f.tar.gz
upstream-8408c72ba41d0a2f575fea508e151bb5d772d30f.tar.bz2
upstream-8408c72ba41d0a2f575fea508e151bb5d772d30f.zip
Added support for : save-password( --enable-password-save), smaller executable (--enable-small)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3284 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/openvpn/Makefile')
-rw-r--r--package/openvpn/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/openvpn/Makefile b/package/openvpn/Makefile
index e5e1275841..5ae1a31200 100644
--- a/package/openvpn/Makefile
+++ b/package/openvpn/Makefile
@@ -38,6 +38,12 @@ endif
ifneq ($(BR2_COMPILE_OPENVPN_WITH_HTTP),y)
DISABLE_HTTP:=--disable-http
endif
+ifeq ($(BR2_COMPILE_OPENVPN_WITH_PASSWORD_SAVE),y)
+ENABLE_PASSWORD_SAVE:=--enable-password-save
+endif
+ifeq ($(BR2_COMPILE_OPENVPN_WITH_SMALL),y)
+ENABLE_SMALL:=--enable-small
+endif
$(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
@@ -76,6 +82,8 @@ $(PKG_BUILD_DIR)/.configured:
$(DISABLE_OPENSSL) \
$(DISABLE_SERVER) \
$(DISABLE_HTTP) \
+ $(ENABLE_PASSWORD_SAVE) \
+ $(ENABLE_SMALL) \
);
touch $(PKG_BUILD_DIR)/.configured