openvpn: prefix variables with OPENVPN_
authorPeter Korsgaard <jacmet@sunsite.dk>
Thu, 2 Jul 2009 12:58:39 +0000 (14:58 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 2 Jul 2009 12:59:48 +0000 (14:59 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/openvpn/openvpn.mk

index 49584f8752f9c2f1431b85884b5bf0326661706c..56dc03dd1220a1bf1001963732cb7d2b47e179f9 100644 (file)
@@ -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):