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

43
package/wolfssl/Config.in Normal file
View File

@@ -0,0 +1,43 @@
config BR2_PACKAGE_WOLFSSL_ASM_SUPPORTS
bool
default y if BR2_aarch64
default y if (BR2_arm || BR2_armeb) && !BR2_ARM_CPU_ARMV4 # clz
default y if BR2_powerpc
default y if BR2_powerpc64 || BR2_powerpc64le
default y if BR2_mips64 && !BR2_MIPS_CPU_MIPS32R6
default y if BR2_mips64el && !BR2_MIPS_CPU_MIPS32R6
default y if BR2_mips || BR2_mipsel
default y if BR2_riscv && BR2_RISCV_ISA_RVM
default y if BR2_s390x
config BR2_PACKAGE_WOLFSSL
bool "wolfssl"
depends on BR2_TOOLCHAIN_HAS_THREADS
help
The wolfSSL embedded SSL library (formerly CyaSSL) is a
lightweight, portable, C-language-based SSL/TLS library
targeted at IoT, embedded, and RTOS environments primarily
because of its size, speed, and feature set.
https://www.wolfssl.com/
if BR2_PACKAGE_WOLFSSL
config BR2_PACKAGE_WOLFSSL_ALL
bool "enable all features, except SSLv3"
depends on !BR2_STATIC_LIBS
help
Enable all wolfSSL features, except SSL version 3.0 support.
comment "all features, except SSLv3 needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS
config BR2_PACKAGE_WOLFSSL_SSLV3
bool "enable SSLv3"
help
Enable SSL version 3.0 support.
endif
comment "wolfssl needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -0,0 +1,6 @@
# Locally computed:
sha256 2f4ef3d4fd387a9b3191d36a6316d69116c46ff69bb9583b6c82b36d7b8ca114 wolfssl-5.9.2.tar.gz
# Hash for license files:
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
sha256 84f8096dc7f70cdb6075ccf3722a44654361063eaf3e1ce7885c9875b8465a63 LICENSING

View File

@@ -0,0 +1,57 @@
################################################################################
#
# wolfssl
#
################################################################################
WOLFSSL_VERSION = 5.9.2
WOLFSSL_SITE = $(call github,wolfSSL,wolfssl,v$(WOLFSSL_VERSION)-stable)
WOLFSSL_INSTALL_STAGING = YES
WOLFSSL_LICENSE = GPL-3.0+
WOLFSSL_LICENSE_FILES = COPYING LICENSING
WOLFSSL_CPE_ID_VENDOR = wolfssl
WOLFSSL_CONFIG_SCRIPTS = wolfssl-config
# From git
WOLFSSL_AUTORECONF = YES
WOLFSSL_DEPENDENCIES = host-pkgconf
WOLFSSL_CONF_OPTS = \
--disable-examples \
--disable-crypttests \
--disable-option-checking
ifeq ($(BR2_PACKAGE_WOLFSSL_ALL),y)
WOLFSSL_CONF_OPTS += --enable-all
else
WOLFSSL_CONF_OPTS += --disable-all
endif
ifeq ($(BR2_PACKAGE_WOLFSSL_SSLV3),y)
WOLFSSL_CONF_OPTS += --enable-sslv3
else
WOLFSSL_CONF_OPTS += --disable-sslv3
endif
ifeq ($(BR2_PACKAGE_WOLFSSL_ASM_SUPPORTS),y)
WOLFSSL_CONF_OPTS += --enable-asm
else
WOLFSSL_CONF_OPTS += --disable-asm
endif
# enable ARMv8 hardware acceleration
ifeq ($(BR2_aarch64),y)
WOLFSSL_CONF_OPTS += --enable-armasm
# the flag -mstrict-align is needed to prevent build errors caused by
# some inline assembly in parts of the AES structure using the "m"
# constraint
WOLFSSL_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -mstrict-align"
else
WOLFSSL_CONF_OPTS += --disable-armasm
endif
ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y)
WOLFSSL_CONF_OPTS += --with-arm-target=thumb
endif
$(eval $(autotools-package))