initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
config BR2_PACKAGE_LIBCOAP
bool "libcoap"
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, bandwith,
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
+4
View File
@@ -0,0 +1,4 @@
# Locally calculated
sha256 29a0394a265d3febee41e5e2dc03d34292a0aede37f5f80334e529ac0dab2321 libcoap-4.2.1.tar.gz
sha256 09dd86a017bad210527085008cbf706609c58210897b69845af14099577e7eb7 COPYING
sha256 c51e85271aca3fbdd79bb4ee45dcfd854724538dad83b70afbbdfc62415e3e7f LICENSE
+26
View File
@@ -0,0 +1,26 @@
################################################################################
#
# libcoap
#
################################################################################
LIBCOAP_VERSION = 4.2.1
LIBCOAP_SITE = $(call github,obgm,libcoap,v$(LIBCOAP_VERSION))
LIBCOAP_INSTALL_STAGING = YES
LIBCOAP_LICENSE = BSD-2-Clause
LIBCOAP_LICENSE_FILES = COPYING LICENSE
LIBCOAP_DEPENDENCIES = host-pkgconf
LIBCOAP_CONF_OPTS = --disable-examples --without-tinydtls
LIBCOAP_AUTORECONF = YES
ifeq ($(BR2_PACKAGE_GNUTLS),y)
LIBCOAP_DEPENDENCIES += gnutls
LIBCOAP_CONF_OPTS += --enable-dtls --with-gnutls --without-openssl
else ifeq ($(BR2_PACKAGE_OPENSSL),y)
LIBCOAP_DEPENDENCIES += openssl
LIBCOAP_CONF_OPTS += --enable-dtls --without-gnutls --with-openssl
else
LIBCOAP_CONF_OPTS += --disable-dtls
endif
$(eval $(autotools-package))