summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-07-02 12:58:39 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2009-07-02 12:59:48 (GMT)
commitb98de697b071940258db1dcb00506c15d68a0b97 (patch)
treea537b66c312b2e16931de9527e6328f6372e1831
parent234fb283edd6ce50d9fa0b0673fb7ed7cf782a57 (diff)
downloadbuildroot-b98de697b071940258db1dcb00506c15d68a0b97.tar.gz
buildroot-b98de697b071940258db1dcb00506c15d68a0b97.tar.bz2
openvpn: prefix variables with OPENVPN_
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-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 49584f8..56dc03d 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):