diff --git a/meta-digi-dey/recipes-connectivity/mbedtls/mbedtls-2.1.1/0001-mbedtls-library-add-pkg-config-file.patch b/meta-digi-dey/recipes-connectivity/mbedtls/mbedtls-2.1.1/0001-mbedtls-library-add-pkg-config-file.patch deleted file mode 100644 index c98b9bc98..000000000 --- a/meta-digi-dey/recipes-connectivity/mbedtls/mbedtls-2.1.1/0001-mbedtls-library-add-pkg-config-file.patch +++ /dev/null @@ -1,43 +0,0 @@ -From: Tatiana Leon -Date: Fri, 28 Apr 2017 14:47:43 +0200 -Subject: [PATCH] mbedtls library: add pkg-config file - -Upstream-Status: Inappropriate [DEY specific] - -Signed-off-by: Tatiana Leon ---- - CMakeLists.txt | 4 ++++ - mbedtls.pc.in | 12 ++++++++++++ - 2 files changed, 16 insertions(+) - create mode 100644 mbedtls.pc.in - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 094d906..b662eee 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -124,3 +124,7 @@ if(ENABLE_TESTING) - ) - endif(UNIX) - endif() -+ -+SET(prefix ${CMAKE_INSTALL_PREFIX}) -+CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/mbedtls.pc.in ${CMAKE_BINARY_DIR}/mbedtls.pc @ONLY) -+INSTALL(FILES ${CMAKE_BINARY_DIR}/mbedtls.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig) -diff --git a/mbedtls.pc.in b/mbedtls.pc.in -new file mode 100644 -index 0000000..9eff4ac ---- /dev/null -+++ b/mbedtls.pc.in -@@ -0,0 +1,12 @@ -+prefix=@prefix@ -+exec_prefix=${prefix} -+libdir=${exec_prefix}/lib -+includedir=${prefix}/include -+ -+Name: mbedtls -+Description: Light-weight open source cryptographic and SSL/TLS library -+Version: 2.1.1 -+ -+Libs: -L${libdir} -lmbedtls -lmbedcrypto -lmbedx509 -+Cflags: -I${includedir}/mbedtls -+ diff --git a/meta-digi-dey/recipes-connectivity/mbedtls/mbedtls_2.1.1.bb b/meta-digi-dey/recipes-connectivity/mbedtls/mbedtls_2.1.1.bb deleted file mode 100644 index 0691e1616..000000000 --- a/meta-digi-dey/recipes-connectivity/mbedtls/mbedtls_2.1.1.bb +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright (C) 2017, Digi International Inc. - -SUMMARY = "An open source, portable, easy to use, readable and flexible SSL \ -library" -DESCRIPTION = "mbedtls is a lean open source crypto library \ -for providing SSL and TLS support in your programs. It offers \ -an intuitive API and documented header files, so you can actually \ -understand what the code does. It features: \ - \ - - Symmetric algorithms, like AES, Blowfish, Triple-DES, DES, ARC4, \ - Camellia and XTEA \ - - Hash algorithms, like SHA-1, SHA-2, RIPEMD-160 and MD5 \ - - Entropy pool and random generators, like CTR-DRBG and HMAC-DRBG \ - - Public key algorithms, like RSA, Elliptic Curves, Diffie-Hellman, \ - ECDSA and ECDH \ - - SSL v3 and TLS 1.0, 1.1 and 1.2 \ - - Abstraction layers for ciphers, hashes, public key operations, \ - platform abstraction and threading \ -" - -HOMEPAGE = "https://tls.mbed.org/" -SECTION = "libdevel" -BUGTRACKER = "https://github.com/ARMmbed/mbedtls/issues" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=302d50a6369f5f22efdb674db908167a" - -SRC_URI = " \ - git://github.com/Mbed-TLS/mbedtls.git;protocol=https;branch=master \ - file://0001-mbedtls-library-add-pkg-config-file.patch \ -" - -# Tag 'mbedtls-2.1.1' -SRCREV = "8cea8ad8b825b0bf5884054af7499f1d5c3ebeb4" - -S = "${WORKDIR}/git" - -inherit cmake - -EXTRA_OECMAKE = " \ - -DENABLE_PROGRAMS:BOOL=OFF \ - -DENABLE_TESTING:BOOL=OFF \ - -DUSE_STATIC_MBEDTLS_LIBRARY:BOOL=ON \ - -DUSE_SHARED_MBEDTLS_LIBRARY:BOOL=ON \ - -DLIB_INSTALL_DIR:STRING=${libdir} \ - -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ -" - -ALLOW_EMPTY:${PN} = "1"