From 4ac262cc8bf646cf22ae44d62e05b375b6795273 Mon Sep 17 00:00:00 2001 From: Jeroen Hofstee Date: Mon, 24 Sep 2018 21:00:29 +0200 Subject: mosquitto: make websockets a PACKAGECONFIG option Signed-off-by: Jeroen Hofstee Signed-off-by: Khem Raj --- meta-networking/recipes-connectivity/mosquitto/mosquitto_1.5.1.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-networking') 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 \ " -- cgit 1.2.3-korg