mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
LibreSSL fails in the same way as powerpc, so disable asm too for these architectures. Fixes: - http://autobuild.buildroot.net/results/788/7883ffe9ed96f38f9ca359e99a18a548b6f35c24/ Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
29 lines
883 B
Makefile
29 lines
883 B
Makefile
################################################################################
|
|
#
|
|
# libressl
|
|
#
|
|
################################################################################
|
|
|
|
LIBRESSL_VERSION = 3.9.2
|
|
LIBRESSL_SITE = https://ftp.openbsd.org/pub/OpenBSD/LibreSSL
|
|
LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original OpenSSL code)
|
|
LIBRESSL_LICENSE_FILES = COPYING
|
|
LIBRESSL_CPE_ID_VENDOR = openbsd
|
|
LIBRESSL_INSTALL_STAGING = YES
|
|
LIBRESSL_CONF_OPTS = -DLIBRESSL_TESTS=OFF -DOPENSSLDIR="/etc/ssl"
|
|
|
|
# Otherwise fails to build with undefined reference to
|
|
# `bn_mul_add_words'
|
|
ifeq ($(BR2_powerpc)$(BR2_mips64)$(BR2_mips64el),y)
|
|
LIBRESSL_CONF_OPTS += -DENABLE_ASM=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBRESSL_BIN),)
|
|
define LIBRESSL_REMOVE_BIN
|
|
$(RM) -f $(TARGET_DIR)/usr/bin/openssl
|
|
endef
|
|
LIBRESSL_POST_INSTALL_TARGET_HOOKS += LIBRESSL_REMOVE_BIN
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|