ec3417676e
- disable shared object build when BR2_PREFER_STATIC_LIB is set - patch the CMake code for handling static/shared object build using standard CMake flags, instead of the ucstom ones. Fixes: http://autobuild.buildroot.net/results/754/754947d2a77a4dbe91057d8ce64fc4996e716ece/ Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
19 lines
534 B
Makefile
19 lines
534 B
Makefile
################################################################################
|
|
#
|
|
# polarssl
|
|
#
|
|
################################################################################
|
|
|
|
POLARSSL_SITE = https://polarssl.org/code/releases
|
|
POLARSSL_VERSION = 1.2.11
|
|
POLARSSL_SOURCE = polarssl-$(POLARSSL_VERSION)-gpl.tgz
|
|
POLARSSL_CONF_OPT = \
|
|
-DBUILD_TESTS=OFF \
|
|
-DENABLE_PROGRAMS=$(if $(BR2_PACKAGE_POLARSSL_PROGRAMS),ON,OFF)
|
|
|
|
POLARSSL_INSTALL_STAGING = YES
|
|
POLARSSL_LICENSE = GPLv2
|
|
POLARSSL_LICENSE_FILES = LICENSE
|
|
|
|
$(eval $(cmake-package))
|