d10b493e48
The 1.2.x branch is no longer maintained, so remove it since it's likely security-vulnerable. mbedtls is the modern replacement which was renamed from polarssl when ARM bought them up. However major releases broke API so polarssl 1.2.x isn't always interchangeable with polarssl/mbedtls 1.3.x (interim mixed naming because of new ownership) or newer 2.x series. Fortunately we don't have any package in the tree that uses polarssl exclusively. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> [Thomas: - Remove entry in DEVELOPERS file for this package. Noticed by Arnout. - Remove comment in bctoolbox.mk that no longer makes sense after polarssl removal. Noticed by Arnout.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# bctoolbox
|
|
#
|
|
################################################################################
|
|
|
|
BCTOOLBOX_VERSION = 0.4.0
|
|
BCTOOLBOX_SITE = $(call github,BelledonneCommunications,bctoolbox,$(BCTOOLBOX_VERSION))
|
|
BCTOOLBOX_LICENSE = GPLv2+
|
|
BCTOOLBOX_LICENSE_FILES = COPYING
|
|
BCTOOLBOX_INSTALL_STAGING = YES
|
|
|
|
# Set CMAKE_SKIP_RPATH to prevent bctoolbox from adding the rpath to
|
|
# shared library.
|
|
BCTOOLBOX_CONF_OPTS = \
|
|
-DENABLE_POLARSSL=OFF \
|
|
-DENABLE_STRICT=OFF \
|
|
-DENABLE_TESTS_COMPONENT=OFF \
|
|
-DENABLE_TESTS=OFF \
|
|
-DGIT_EXECUTABLE=OFF \
|
|
-DCMAKE_SKIP_RPATH=ON
|
|
|
|
ifeq ($(BR2_PACKAGE_MBEDTLS),y)
|
|
BCTOOLBOX_DEPENDENCIES += mbedtls
|
|
BCTOOLBOX_CONF_OPTS += -DENABLE_MBEDTLS=ON
|
|
else
|
|
BCTOOLBOX_CONF_OPTS += -DENABLE_MBEDTLS=OFF
|
|
endif
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
BCTOOLBOX_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON
|
|
else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
|
|
BCTOOLBOX_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=ON
|
|
else ifeq ($(BR2_SHARED_LIBS),y)
|
|
BCTOOLBOX_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|