summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-07-02 14:58:39 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-07-02 14:59:48 +0200
commitb98de697b071940258db1dcb00506c15d68a0b97 (patch)
treea537b66c312b2e16931de9527e6328f6372e1831 /package
parent234fb283edd6ce50d9fa0b0673fb7ed7cf782a57 (diff)
openvpn: prefix variables with OPENVPN_
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/openvpn/openvpn.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/openvpn/openvpn.mk b/package/openvpn/openvpn.mk
index 49584f875..56dc03dd1 100644
--- a/package/openvpn/openvpn.mk
+++ b/package/openvpn/openvpn.mk
@@ -9,14 +9,14 @@ OPENVPN_SOURCE = openvpn-$(OPENVPN_VERSION).tar.gz
OPENVPN_SITE = http://openvpn.net/release
OPENVPN_DEPENDENCIES = lzo openssl uclibc
+OPENVPN_CONF_OPT = --enable-small
+
ifeq ($(BR2_PTHREADS_NATIVE),y)
- THREAD_MODEL="--enable-threads=posix"
+ OPENVPN_CONF_OPT += --enable-threads=posix
else
- THREAD_MODEL="--enable-pthread"
+ OPENVPN_CONF_OPT += --enable-pthread
endif
-OPENVPN_CONF_OPT = --enable-small $(THREAD_MODEL)
-
$(eval $(call AUTOTARGETS,package,openvpn))
$(OPENVPN_TARGET_INSTALL_TARGET):