From 2cb778612565e8395c8814a047fc58cc5d746722 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Sun, 8 Mar 2020 00:07:41 -0700 Subject: [PATCH] package/connman: add option to enable wireguard support Signed-off-by: James Hilliard Signed-off-by: Thomas Petazzoni --- package/connman/Config.in | 4 ++++ package/connman/connman.mk | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/package/connman/Config.in b/package/connman/Config.in index 48a2ee421c..614b826f96 100644 --- a/package/connman/Config.in +++ b/package/connman/Config.in @@ -52,6 +52,10 @@ config BR2_PACKAGE_CONNMAN_WIFI setup). ConnMan detects the start of wpa_supplicant automatically. +config BR2_PACKAGE_CONNMAN_WIREGUARD + bool "enable wireguard support" + select BR2_PACKAGE_LIBMNL + config BR2_PACKAGE_CONNMAN_WISPR bool "enable WISPr support" depends on !BR2_STATIC_LIBS # gnutls diff --git a/package/connman/connman.mk b/package/connman/connman.mk index 1ebfe9cf14..23e7cb7797 100644 --- a/package/connman/connman.mk +++ b/package/connman/connman.mk @@ -70,6 +70,13 @@ else CONNMAN_CONF_OPTS += --disable-wifi endif +ifeq ($(BR2_PACKAGE_CONNMAN_WIREGUARD),y) +CONNMAN_CONF_OPTS += --enable-wireguard +CONNMAN_DEPENDENCIES += libmnl +else +CONNMAN_CONF_OPTS += --disable-wireguard +endif + ifeq ($(BR2_PACKAGE_CONNMAN_WISPR),y) CONNMAN_CONF_OPTS += --enable-wispr CONNMAN_DEPENDENCIES += gnutls -- 2.30.2