Skip to contentSkip to conversation

azure-iot-sdk-c: New package

PATCH New André Hentschel 2 participants 2 messages Jun 22, 2017 – Jul 2, 2017

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 azure-iot-sdk-c: New package

Despite newer versions being available, this patch creates a package for version 2017-05-05, because newer version have issues that need to be addressed.
Still, the projects install target installs the wrong files, that's why commands are needed for staging_install and target_install.

---

v2: Rework the package with help from Arnouts comments
v3: Explain some things in the commit message
v4: Fix commit message as suggested by Thomas

 DEVELOPERS                                 |  1 +
 package/Config.in                          |  1 +
 package/azure-iot-sdk-c/Config.in          | 16 ++++++++++
 package/azure-iot-sdk-c/azure-iot-sdk-c.mk | 51 ++++++++++++++++++++++++++++++
 4 files changed, 69 insertions(+)
 create mode 100644 package/azure-iot-sdk-c/Config.in
 create mode 100644 package/azure-iot-sdk-c/azure-iot-sdk-c.mk
DEVELOPERS +1 -0
index 315849a..cfeeb2f 100644
@@ -81,6 +81,7 @@ N:	Anders Darander <[email protected]>
 F:	package/ktap/
 
 N:	Andr? Hentschel <[email protected]>
+F:	package/azure-iot-sdk-c/
 F:	package/openal/
 F:	package/p7zip/
 F:	package/wine/
package/Config.in +1 -0
index 95068fd..b0f62fe 100644
@@ -1262,6 +1262,7 @@ menu "Networking"
 	source "package/alljoyn-base/Config.in"
 	source "package/alljoyn-tcl/Config.in"
 	source "package/alljoyn-tcl-base/Config.in"
+	source "package/azure-iot-sdk-c/Config.in"
 	source "package/batman-adv/Config.in"
 	source "package/c-ares/Config.in"
 	source "package/canfestival/Config.in"
package/azure-iot-sdk-c/Config.in new file +16 -0
new file mode 100644
index 0000000..9fb956a
@@ -0,0 +1,16 @@
+config BR2_PACKAGE_AZURE_IOT_SDK_C
+	bool "azure-iot-sdk-c"
+	depends on BR2_INSTALL_LIBSTDCPP
+	select BR2_PACKAGE_LIBCURL
+	select BR2_PACKAGE_LIBXML2
+	select BR2_PACKAGE_OPENSSL
+	select BR2_PACKAGE_UTIL_LINUX
+	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
+	help
+	  Microsoft Azure IoT Hub device SDK for C is used
+	  to connect devices running C code to Azure IoT Hub.
+
+	  https://docs.microsoft.com/nl-nl/azure/iot-hub/iot-hub-device-sdk-c-intro
+
+comment "azure-iot-sdk-c needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
package/azure-iot-sdk-c/azure-iot-sdk-c.mk new file +51 -0

51 lines not on this page · raw message

Signature · 1 line
2.7.4
#1 lore raw

PATCH v4 1/1 azure-iot-sdk-c: New package

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Andr?" == Andr? Hentschel <[email protected]> writes:

Despite newer versions being available, this patch creates a package for version 2017-05-05, because newer version have issues that need to be addressed.
Still, the projects install target installs the wrong files, that's why commands are needed for staging_install and target_install.

Quoted 6 lines

---

v2: Rework the package with help from Arnouts comments
v3: Explain some things in the commit message
v4: Fix commit message as suggested by Thomas

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard