Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
From 1a9a5fd688d811ca7300edccbdfc623fdaa1b8dc Mon Sep 17 00:00:00 2001
|
||||
From: Dan Cristoloveanu <dcristo@microsoft.com>
|
||||
Date: Wed, 27 Jan 2021 12:59:18 -0800
|
||||
Subject: [PATCH] Bump cmake version and update dependencies (#65)
|
||||
|
||||
* Bump cmake version to 3.18
|
||||
|
||||
Upstream: https://github.com/Azure/macro-utils-c/commit/1a9a5fd688d811ca7300edccbdfc623fdaa1b8dc
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
[backported to LTS_03_2025]
|
||||
---
|
||||
deps/azure-macro-utils-c/CMakeLists.txt | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 29b3416..3b82d4e 100644
|
||||
--- a/deps/azure-macro-utils-c/CMakeLists.txt
|
||||
+++ b/deps/azure-macro-utils-c/CMakeLists.txt
|
||||
@@ -1,7 +1,9 @@
|
||||
#Copyright (c) Microsoft. All rights reserved.
|
||||
#Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
-cmake_minimum_required(VERSION 2.8.11)
|
||||
+if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION)
|
||||
+ cmake_minimum_required(VERSION 3.18)
|
||||
+endif()
|
||||
|
||||
if(TARGET azure_macro_utils_c)
|
||||
return()
|
||||
@@ -0,0 +1,30 @@
|
||||
From 02ed1852d45fda6994748118bab129e5d2527c0f Mon Sep 17 00:00:00 2001
|
||||
From: Dan Cristoloveanu <dcristo@microsoft.com>
|
||||
Date: Wed, 27 Jan 2021 21:35:21 -0800
|
||||
Subject: [PATCH] Bump cmake version (#189)
|
||||
|
||||
* Bump version for cmake
|
||||
|
||||
Upstream: https://github.com/Azure/umock-c/commit/02ed1852d45fda6994748118bab129e5d2527c0f
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
[backported to LTS_03_2025]
|
||||
---
|
||||
deps/umock-c/CMakeLists.txt | 5 ++++-
|
||||
1 files change, 13 insertions(+), 74 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index f1a7a9f4..fc479cac 100644
|
||||
--- a/deps/umock-c/CMakeLists.txt
|
||||
+++ b/deps/umock-c/CMakeLists.txt
|
||||
@@ -1,7 +1,9 @@
|
||||
#Copyright (c) Microsoft. All rights reserved.
|
||||
#Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
|
||||
-cmake_minimum_required(VERSION 2.8.11)
|
||||
+if(NOT DEFINED CMAKE_MINIMUM_REQUIRED_VERSION)
|
||||
+ cmake_minimum_required(VERSION 3.18)
|
||||
+endif()
|
||||
|
||||
if(TARGET umock_c)
|
||||
return()
|
||||
19
package/azure-iot-sdk-c/Config.in
Normal file
19
package/azure-iot-sdk-c/Config.in
Normal file
@@ -0,0 +1,19 @@
|
||||
config BR2_PACKAGE_AZURE_IOT_SDK_C
|
||||
bool "azure-iot-sdk-c"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
||||
depends on BR2_USE_WCHAR
|
||||
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://github.com/Azure/azure-iot-sdk-c
|
||||
|
||||
comment "azure-iot-sdk-c needs a toolchain w/ C++, NPTL and wchar"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR
|
||||
5
package/azure-iot-sdk-c/azure-iot-sdk-c.hash
Normal file
5
package/azure-iot-sdk-c/azure-iot-sdk-c.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# Locally computed:
|
||||
sha256 28d4d79239fb278932cc1cb7118733e2c923a1ac95e91d541a1259e9c8a5beb9 azure-iot-sdk-c-LTS_03_2025-git4.tar.gz
|
||||
|
||||
# Hash for license files:
|
||||
sha256 be2e9913fad9ff33607287c728f392579e2a6cc83e51b203ef6274c41db02ee7 LICENSE
|
||||
23
package/azure-iot-sdk-c/azure-iot-sdk-c.mk
Normal file
23
package/azure-iot-sdk-c/azure-iot-sdk-c.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# azure-iot-sdk-c
|
||||
#
|
||||
################################################################################
|
||||
|
||||
AZURE_IOT_SDK_C_VERSION = LTS_03_2025
|
||||
AZURE_IOT_SDK_C_SITE = https://github.com/Azure/azure-iot-sdk-c
|
||||
AZURE_IOT_SDK_C_SITE_METHOD = git
|
||||
AZURE_IOT_SDK_C_GIT_SUBMODULES = YES
|
||||
AZURE_IOT_SDK_C_LICENSE = MIT
|
||||
AZURE_IOT_SDK_C_LICENSE_FILES = LICENSE
|
||||
AZURE_IOT_SDK_C_INSTALL_STAGING = YES
|
||||
AZURE_IOT_SDK_C_DEPENDENCIES = libxml2 openssl libcurl util-linux
|
||||
AZURE_IOT_SDK_C_CONF_OPTS = -Dskip_samples=ON
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
AZURE_IOT_SDK_C_CONF_OPTS += -Duse_prov_client=OFF
|
||||
else
|
||||
AZURE_IOT_SDK_C_CONF_OPTS += -Duse_prov_client=ON
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user