ad202bc68f
mbedtls is an optional dependency since bump to version 1.5.0 in commita42e0e4600
and19f2cbf0e7
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit4d07864d4c
) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
26 lines
835 B
Makefile
26 lines
835 B
Makefile
################################################################################
|
|
#
|
|
# libiec61850
|
|
#
|
|
################################################################################
|
|
|
|
LIBIEC61850_VERSION = 1.5.1
|
|
LIBIEC61850_SITE = https://libiec61850.com/wp-content/uploads/2022/03
|
|
LIBIEC61850_INSTALL_STAGING = YES
|
|
LIBIEC61850_LICENSE = GPL-3.0+
|
|
LIBIEC61850_LICENSE_FILES = COPYING
|
|
LIBIEC61850_CPE_ID_VENDOR = mz-automation
|
|
LIBIEC61850_CONF_OPTS = -DBUILD_PYTHON_BINDINGS=OFF
|
|
# Examples aren't build
|
|
# https://github.com/mz-automation/libiec61850/issues/442
|
|
LIBIEC61850_IGNORE_CVES += CVE-2023-27772
|
|
|
|
ifeq ($(BR2_PACKAGE_MBEDTLS),y)
|
|
LIBIEC61850_DEPENDENCIES += mbedtls
|
|
LIBIEC61850_CONF_OPTS += -DCONFIG_USE_EXTERNAL_MBEDTLS_DYNLIB=ON
|
|
else
|
|
LIBIEC61850_CONF_OPTS += -DCONFIG_USE_EXTERNAL_MBEDTLS_DYNLIB=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|