mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-10 15:38:06 +02:00
Added support for : save-password( --enable-password-save), smaller executable (--enable-small)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3284 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
cda2bdcb95
commit
96fe7e46e0
@ -38,4 +38,16 @@ config BR2_COMPILE_OPENVPN_WITH_LZO
|
|||||||
depends BR2_PACKAGE_OPENVPN
|
depends BR2_PACKAGE_OPENVPN
|
||||||
select BR2_PACKAGE_LIBLZO
|
select BR2_PACKAGE_LIBLZO
|
||||||
|
|
||||||
|
config BR2_COMPILE_OPENVPN_WITH_PASSWORD_SAVE
|
||||||
|
prompt "Enable password saving"
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
depends BR2_PACKAGE_OPENVPN
|
||||||
|
|
||||||
|
config BR2_COMPILE_OPENVPN_WITH_SMALL
|
||||||
|
prompt "Enable smaller executable size (disable OCC, usage message, and verb 4 parm list)"
|
||||||
|
bool
|
||||||
|
default n
|
||||||
|
depends BR2_PACKAGE_OPENVPN
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
@ -38,6 +38,12 @@ endif
|
|||||||
ifneq ($(BR2_COMPILE_OPENVPN_WITH_HTTP),y)
|
ifneq ($(BR2_COMPILE_OPENVPN_WITH_HTTP),y)
|
||||||
DISABLE_HTTP:=--disable-http
|
DISABLE_HTTP:=--disable-http
|
||||||
endif
|
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:
|
$(PKG_BUILD_DIR)/.configured:
|
||||||
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
|
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
|
||||||
@ -76,6 +82,8 @@ $(PKG_BUILD_DIR)/.configured:
|
|||||||
$(DISABLE_OPENSSL) \
|
$(DISABLE_OPENSSL) \
|
||||||
$(DISABLE_SERVER) \
|
$(DISABLE_SERVER) \
|
||||||
$(DISABLE_HTTP) \
|
$(DISABLE_HTTP) \
|
||||||
|
$(ENABLE_PASSWORD_SAVE) \
|
||||||
|
$(ENABLE_SMALL) \
|
||||||
);
|
);
|
||||||
touch $(PKG_BUILD_DIR)/.configured
|
touch $(PKG_BUILD_DIR)/.configured
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user