Skip to contentSkip to conversation

mosquitto: add native, nativesdk support

PATCH New Martin Kelly 1 participant 3 messages Jun 5, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 mosquitto: add native, nativesdk support

---
 .../recipes-connectivity/mosquitto/mosquitto_1.6.10.bb          | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-connectivity/mosquitto/mosquitto_1.6.10.bb +2 -0
index 31b5f678d..3961866da 100644
@@ -85,3 +85,5 @@ INITSCRIPT_PARAMS = "defaults 30"
 USERADD_PACKAGES = "${PN}"
 USERADD_PARAM_${PN} = "--system --no-create-home --shell /bin/false \
                        --user-group mosquitto"
+
+BBCLASSEXTEND += "native nativesdk"
Signature · 1 line
2.26.2
#1 lore raw

PATCH 2/3 msgpack-c: add native, nativesdk support

---
 meta-oe/recipes-devtools/msgpack/msgpack-c_3.2.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/msgpack/msgpack-c_3.2.1.bb +2 -0
index d410dc6e0..5224f32b0 100644
@@ -17,3 +17,5 @@ SRCREV = "8085ab8721090a447cf98bb802d1406ad7afe420"
 S = "${WORKDIR}/git"
 
 inherit cmake pkgconfig
+
+BBCLASSEXTEND += "native nativesdk"
Signature · 1 line
2.26.2
#2 lore raw

PATCH 3/3 mosquitto: typo fix

In reply to Martin Kelly

The "ssl" PACKAGECONFIG setting contains WITH_EC_OFF instead of WITH_EC=OFF, resulting in a build break when "ssl" is not set.

---
 .../recipes-connectivity/mosquitto/mosquitto_1.6.10.bb          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-connectivity/mosquitto/mosquitto_1.6.10.bb +1 -1
index 3961866da..9f6080336 100644
@@ -30,7 +30,7 @@ PACKAGECONFIG ??= "ssl dlt websockets \
                   "
 
 PACKAGECONFIG[dns-srv] = "-DWITH_SRV=ON,-DWITH_SRV=OFF,c-ares"
-PACKAGECONFIG[ssl] = "-DWITH_TLS=ON -DWITH_TLS_PSK=ON -DWITH_EC=ON,-DWITH_TLS=OFF -DWITH_TLS_PSK=OFF -DWITH_EC_OFF,openssl"
+PACKAGECONFIG[ssl] = "-DWITH_TLS=ON -DWITH_TLS_PSK=ON -DWITH_EC=ON,-DWITH_TLS=OFF -DWITH_TLS_PSK=OFF -DWITH_EC=OFF,openssl"
 PACKAGECONFIG[systemd] = "-DWITH_SYSTEMD=ON,-DWITH_SYSTEMD=OFF,systemd"
 PACKAGECONFIG[websockets] = "-DWITH_WEBSOCKETS=ON,-DWITH_WEBSOCKETS=OFF,libwebsockets"
 PACKAGECONFIG[dlt] = "-DWITH_DLT=ON,-DWITH_DLT=OFF,dlt-daemon"
Signature · 1 line
2.26.2