Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

13
package/libcoap/Config.in Normal file
View File

@@ -0,0 +1,13 @@
config BR2_PACKAGE_LIBCOAP
bool "libcoap"
select BR2_PACKAGE_LIBOPENSSL_ENABLE_PSK if BR2_PACKAGE_LIBOPENSSL
select BR2_PACKAGE_LIBOPENSSL_ENGINES if BR2_PACKAGE_LIBOPENSSL
help
libcoap is a C implementation of a lightweight
application-protocol for devices that are constrained their
resources such as computing power, RF range, memory,
bandwidth, or network packet sizes. This protocol, CoAP, is
standardized by the IETF as RFC 7252. For further
information related to CoAP, see <http://coap.technology>.
https://github.com/obgm/libcoap

View File

@@ -0,0 +1,4 @@
# Locally calculated
sha256 383a17d8466cee7c1cb1d4dfbffad2651004850b29eb590e9591c7bedd46741d libcoap-4.3.5b.tar.gz
sha256 09dd86a017bad210527085008cbf706609c58210897b69845af14099577e7eb7 COPYING
sha256 1ba383ac337111d18334b2e230d02831b60913d137c3b653585d8e8675824111 LICENSE

View File

@@ -0,0 +1,40 @@
################################################################################
#
# libcoap
#
################################################################################
LIBCOAP_VERSION = 4.3.5b
LIBCOAP_SITE = $(call github,obgm,libcoap,v$(LIBCOAP_VERSION))
LIBCOAP_INSTALL_STAGING = YES
LIBCOAP_LICENSE = BSD-2-Clause
LIBCOAP_LICENSE_FILES = COPYING LICENSE
LIBCOAP_CPE_ID_VENDOR = libcoap
LIBCOAP_DEPENDENCIES = host-pkgconf
LIBCOAP_CONF_OPTS = \
--disable-examples --disable-examples-source --without-tinydtls
LIBCOAP_AUTORECONF = YES
ifeq ($(BR2_PACKAGE_GNUTLS),y)
LIBCOAP_DEPENDENCIES += gnutls
LIBCOAP_CONF_OPTS += \
--enable-dtls --with-gnutls --without-mbedtls --without-openssl
else ifeq ($(BR2_PACKAGE_LIBOPENSSL),y)
LIBCOAP_DEPENDENCIES += openssl
LIBCOAP_CONF_OPTS += \
--enable-dtls --without-gnutls --without-mbedtls --with-openssl
else ifeq ($(BR2_PACKAGE_MBEDTLS),y)
LIBCOAP_DEPENDENCIES += mbedtls
LIBCOAP_CONF_OPTS += \
--enable-dtls --without-gnutls --with-mbedtls --without-openssl
else
LIBCOAP_CONF_OPTS += --disable-dtls
endif
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
LIBCOAP_CONF_OPTS += --enable-thread-safe
else
LIBCOAP_CONF_OPTS += --disable-thread-safe
endif
$(eval $(autotools-package))