Skip to content

Commit 79b5265

Browse files
committed
Update Azure IoT SDK
Update Azure IoT Gateway SDK
1 parent d957b1e commit 79b5265

File tree

4 files changed

+14
-350
lines changed

4 files changed

+14
-350
lines changed

recipes-azure/azure-iot-gateway-sdk/azure-iot-gateway-sdk_2016-07-15.bb renamed to recipes-azure/azure-iot-gateway-sdk/azure-iot-gateway-sdk_2016-09-01.bb

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,15 @@ HOMEPAGE = "https://github.com/Azure/azure-iot-gateway-sdk"
33
LICENSE = "MIT"
44
LIC_FILES_CHKSUM = "file://License.txt;md5=9cc1d02a339a3e756ac7975262cf739d"
55

6-
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
7-
86
DEPENDS = "glib-2.0 curl util-linux azure-iot-sdk"
97

108
inherit cmake pkgconfig java
119

1210
SRC_URI = "git://github.com/Azure/azure-iot-gateway-sdk.git \
13-
file://fix_jdk_arch.patch \
14-
file://fix_static_libs.patch \
1511
"
16-
SRCREV = "1362b3b9dcde50811aef63956d3f5cb4521a50fd"
12+
SRCREV = "d749101c43baa8885f3ba7bf0d64d095de8d2d82"
1713

18-
PR = "r2"
14+
PR = "r0"
1915

2016
S = "${WORKDIR}/git"
2117
B = "${WORKDIR}/build"
@@ -54,7 +50,7 @@ do_recursive_submodule_init() {
5450
do_patch_linked_libraries() {
5551
cd ${S}/deps/azure-c-shared-utility
5652
if [ -e CMakeLists.txt ]; then
57-
sed -i '622s/.*/ target_link_libraries(aziotsharedutil pthread uuid)/' CMakeLists.txt
53+
sed -i '730s/.*/ target_link_libraries(aziotsharedutil pthread uuid)/' CMakeLists.txt
5854
fi
5955
}
6056

@@ -121,13 +117,13 @@ do_install() {
121117
install -d ${D}${includedir}/azureiot/modules/identitymap
122118
install -m 0644 ${S}/modules/identitymap/inc/*.h ${D}${includedir}/azureiot/modules/identitymap
123119

124-
# IoT Hub HTTP Module
125-
install -d ${D}${libdir}/azureiot/modules/iothubhttp
126-
oe_libinstall -C ${B}/modules/iothubhttp/ -so libiothubhttp ${D}${libdir}/azureiot/modules/iothubhttp/
127-
oe_libinstall -C ${B}/modules/iothubhttp/ -so libiothubhttp_hl ${D}${libdir}/azureiot/modules/iothubhttp/
120+
# IoT Hub Module
121+
install -d ${D}${libdir}/azureiot/modules/iothub
122+
oe_libinstall -C ${B}/modules/iothub/ -so libiothub ${D}${libdir}/azureiot/modules/iothub/
123+
oe_libinstall -C ${B}/modules/iothub/ -so libiothub_hl ${D}${libdir}/azureiot/modules/iothub/
128124

129-
install -d ${D}${includedir}/azureiot/modules/iothubhttp
130-
install -m 0644 ${S}/modules/iothubhttp/inc/*.h ${D}${includedir}/azureiot/modules/iothubhttp
125+
install -d ${D}${includedir}/azureiot/modules/iothub
126+
install -m 0644 ${S}/modules/iothub/inc/*.h ${D}${includedir}/azureiot/modules/iothub
131127

132128
# Logger Module
133129
install -d ${D}${libdir}/azureiot/modules/logger
@@ -169,7 +165,7 @@ FILES_${PN}-dbg += "${libdir}/azureiot/bindings/java/.debug \
169165
${libdir}/azureiot/modules/ble/.debug \
170166
${libdir}/azureiot/modules/hello_world/.debug \
171167
${libdir}/azureiot/modules/identitymap/.debug \
172-
${libdir}/azureiot/modules/iothubhttp/.debug \
168+
${libdir}/azureiot/modules/iothub/.debug \
173169
${libdir}/azureiot/modules/logger/.debug \
174170
${libdir}/azureiot/modules/simulated_device/.debug \
175171
"
@@ -181,8 +177,8 @@ FILES_${PN}-modules += "${libdir}/azureiot/modules/ble/libble.so \
181177
${libdir}/azureiot/modules/hello_world/libhello_world_hl.so \
182178
${libdir}/azureiot/modules/identitymap/libidentity_map.so \
183179
${libdir}/azureiot/modules/identitymap/libidentity_map_hl.so \
184-
${libdir}/azureiot/modules/iothubhttp/libiothubhttp.so \
185-
${libdir}/azureiot/modules/iothubhttp/libiothubhttp_hl.so \
180+
${libdir}/azureiot/modules/iothub/libiothub.so \
181+
${libdir}/azureiot/modules/iothub/libiothub_hl.so \
186182
${libdir}/azureiot/modules/logger/liblogger.so \
187183
${libdir}/azureiot/modules/logger/liblogger_hl.so \
188184
${libdir}/azureiot/modules/simulated_device/libsimulated_device.so \

recipes-azure/azure-iot-gateway-sdk/files/fix_jdk_arch.patch

Lines changed: 0 additions & 115 deletions
This file was deleted.

0 commit comments

Comments
 (0)