* [Buildroot] [PATCH] openvpn: Add explicit support for external lz4
@ 2017-03-24 7:12 Jeroen Roovers
2017-03-25 13:57 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Jeroen Roovers @ 2017-03-24 7:12 UTC (permalink / raw)
To: buildroot
2.4.0 added lz4 support. Make that choice explicit or the bundled compat-lz4
"stub" will be used.
Signed-off-by: Jeroen Roovers <jer@airfi.aero>
---
package/openvpn/Config.in | 7 +++++++
package/openvpn/openvpn.mk | 6 ++++++
2 files changed, 13 insertions(+)
diff --git a/package/openvpn/Config.in b/package/openvpn/Config.in
index 5fa191d97..0a1675573 100644
--- a/package/openvpn/Config.in
+++ b/package/openvpn/Config.in
@@ -14,6 +14,13 @@ config BR2_PACKAGE_OPENVPN
if BR2_PACKAGE_OPENVPN
+config BR2_PACKAGE_OPENVPN_LZ4
+ bool "LZ4 compression"
+ default y
+ select BR2_PACKAGE_LZ4
+ help
+ Enable LZ4 compression.
+
config BR2_PACKAGE_OPENVPN_LZO
bool "LZO compression"
default y
diff --git a/package/openvpn/openvpn.mk b/package/openvpn/openvpn.mk
index 5e3df59f3..e152eb39a 100644
--- a/package/openvpn/openvpn.mk
+++ b/package/openvpn/openvpn.mk
@@ -36,6 +36,12 @@ else
OPENVPN_CONF_ENV += IPROUTE=/sbin/ip
endif
+ifeq ($(BR2_PACKAGE_OPENVPN_LZ4),y)
+OPENVPN_DEPENDENCIES += lz4
+else
+OPENVPN_CONF_OPTS += --disable-lz4
+endif
+
ifeq ($(BR2_PACKAGE_OPENVPN_LZO),y)
OPENVPN_DEPENDENCIES += lzo
else
--
2.12.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] openvpn: Add explicit support for external lz4
2017-03-24 7:12 [Buildroot] [PATCH] openvpn: Add explicit support for external lz4 Jeroen Roovers
@ 2017-03-25 13:57 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-03-25 13:57 UTC (permalink / raw)
To: buildroot
Hello,
On Fri, 24 Mar 2017 08:12:03 +0100, Jeroen Roovers wrote:
> 2.4.0 added lz4 support. Make that choice explicit or the bundled compat-lz4
> "stub" will be used.
>
> Signed-off-by: Jeroen Roovers <jer@airfi.aero>
> ---
> package/openvpn/Config.in | 7 +++++++
> package/openvpn/openvpn.mk | 6 ++++++
> 2 files changed, 13 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-03-25 13:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-24 7:12 [Buildroot] [PATCH] openvpn: Add explicit support for external lz4 Jeroen Roovers
2017-03-25 13:57 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.