aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen Hofstee <jhofstee@victronenergy.com>2018-09-24 21:00:29 +0200
committerKhem Raj <raj.khem@gmail.com>2018-09-26 07:35:44 -0700
commit4ac262cc8bf646cf22ae44d62e05b375b6795273 (patch)
tree1e999300e9b6571061db89b5b1e2401e12c29a9e
parent6c0509539be40040a15d4768e2d6de4189e79382 (diff)
downloadmeta-openembedded-4ac262cc8bf646cf22ae44d62e05b375b6795273.tar.gz
mosquitto: make websockets a PACKAGECONFIG option
Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-connectivity/mosquitto/mosquitto_1.5.1.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.5.1.bb b/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.5.1.bb
index ae493e7b12..b4adfdada9 100644
--- a/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.5.1.bb
+++ b/meta-networking/recipes-connectivity/mosquitto/mosquitto_1.5.1.bb
@@ -28,6 +28,7 @@ PACKAGECONFIG[dns-srv] = ",,c-ares"
PACKAGECONFIG[ssl] = ",,openssl"
PACKAGECONFIG[uuid] = ",,util-linux"
PACKAGECONFIG[systemd] = "WITH_SYSTEMD=yes,WITH_SYSTEMD=no,systemd"
+PACKAGECONFIG[websockets] = ",,libwebsockets"
EXTRA_OEMAKE = " \
prefix=${prefix} \
@@ -36,6 +37,7 @@ EXTRA_OEMAKE = " \
${@bb.utils.contains('PACKAGECONFIG', 'dns-srv', 'WITH_SRV=yes', 'WITH_SRV=no', d)} \
${@bb.utils.contains('PACKAGECONFIG', 'ssl', 'WITH_TLS=yes WITH_TLS_PSK=yes', 'WITH_TLS=no WITH_TLS_PSK=no', d)} \
${@bb.utils.contains('PACKAGECONFIG', 'uuid', 'WITH_UUID=yes', 'WITH_UUID=no', d)} \
+ ${@bb.utils.contains('PACKAGECONFIG', 'websockets', 'WITH_WEBSOCKETS=yes', 'WITH_WEBSOCKETS=no', d)} \
STRIP=/bin/true \
WITH_DOCS=no \
"