kumquat-buildroot/package/wolfssl/Config.in
Bernd Kuhls 4c66367564 package/wolfssl: disable asm on armv4
Quoting
https://developer.arm.com/documentation/dui0489/i/arm-and-thumb-instructions/clz
"This ARM instruction is available in ARMv5T and above."

Fixes:
- armeb
  http://autobuild.buildroot.net/results/ea9/ea9b19e872b4b20b97fceec3f7e0a6a1109c4f12/
  /tmp/ccdRCOaB.s:27: Error: selected processor does not support `clz r5,r2' in ARM mode
- arm
  http://autobuild.buildroot.net/results/cb1/cb1c7ac68b3379d3f4b5efc897198bea0a904217/
  /tmp/cc72ECAj.s:6764: Error: selected processor does not support `clz r5,r0' in ARM mode
  /tmp/cc72ECAj.s:7110: Error: selected processor does not support `clz r5,lr' in ARM mode
  /tmp/cc72ECAj.s:8934: Error: selected processor does not support `clz r5,fp' in ARM mode

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-07-27 12:27:15 +02:00

44 lines
1.2 KiB
Plaintext

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