meta-digi/meta-digi-arm
Gonzalo Ruiz eb76c33166 trustfence-cst: build CST using libcrypto from SDK
CST was being built linking to the openssl libcrypto library from the host.
When the openssl version in the host didn't match the version in the SDK,
the SDK build failed like this:

Error:
 Problem 1: package nativesdk-packagegroup-sdk-host-1.0-r12.0.x86_64_nativesdk requires nativesdk-trustfence-cst, but none of the providers can be installed
  - conflicting requests
  - nothing provides libcrypto.so.1.0.0()(64bit) needed by nativesdk-trustfence-cst-3.3.1-r0.0.x86_64_nativesdk
  - nothing provides libcrypto.so.1.0.0(OPENSSL_1.0.0)(64bit) needed by nativesdk-trustfence-cst-3.3.1-r0.0.x86_64_nativesdk
  - nothing provides libcrypto.so.1.0.0(OPENSSL_1.0.1)(64bit) needed by nativesdk-trustfence-cst-3.3.1-r0.0.x86_64_nativesdk
 Problem 2: package nativesdk-packagegroup-qt5-toolchain-host-1.0-r0.0.x86_64_nativesdk requires nativesdk-packagegroup-sdk-host, but none of the providers can be installed
  - package nativesdk-packagegroup-sdk-host-1.0-r12.0.x86_64_nativesdk requires nativesdk-trustfence-cst, but none of the providers can be installed
  - conflicting requests
  - nothing provides libcrypto.so.1.0.0()(64bit) needed by nativesdk-trustfence-cst-3.3.1-r0.0.x86_64_nativesdk
  - nothing provides libcrypto.so.1.0.0(OPENSSL_1.0.0)(64bit) needed by nativesdk-trustfence-cst-3.3.1-r0.0.x86_64_nativesdk
  - nothing provides libcrypto.so.1.0.0(OPENSSL_1.0.1)(64bit) needed by nativesdk-trustfence-cst-3.3.1-r0.0.x86_64_nativesdk

Fix that by adding the native dependencies include and lib folders to
the CST build. Also add openssl-native as a dependency for the SDK build,
otherwise it wont link to the SDK libcrypto library.

Additionally, to allow running CST in a host machine where the openssl version
does not match the version in the SDK, libcrypto library is statically linked.

https://jira.digi.com/browse/DEL-7346

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
(cherry picked from commit a95b3ad602)
2020-12-18 17:19:46 +01:00
..
classes trustfence: use correct u-boot image for sdcard 2020-06-15 20:06:00 +02:00
conf ccimx8x: add dt overlay for pcie modems 2020-11-23 08:17:07 +01:00
custom-licenses recipes-digi: add cryptoauth-openssl-engine 2018-05-09 09:16:00 +02:00
recipes-bsp trustfence-cst: build CST using libcrypto from SDK 2020-12-18 17:19:46 +01:00
recipes-core wireless: rework regulatory domain dependencies depending on the platform 2020-06-16 12:56:35 +02:00
recipes-cpu/m4-demos imx-m4-demos, imx-m7-demos: Update recipes to new BSP release imx_5.4.47_2.2.0 2020-11-02 22:09:08 +01:00
recipes-devtools/imx-usb-loader imx-usb-loader: use the version that was used in older versions of DEY 2019-04-04 17:42:46 +02:00
recipes-digi change recipes to build from 'master' branches 2020-10-29 12:29:48 +01:00
recipes-kernel recipes-kernel: Switch to kernel v5.4.47 2020-11-02 22:07:35 +01:00
DIGI_EULA DIGI_EULA: Update Digi EULA file. 2017-08-29 12:23:22 +02:00
DIGI_OPEN_EULA meta-digi-arm: Add end user license agreements. 2012-10-26 16:20:14 +02:00
README meta-digi: update support email address 2017-10-30 17:02:33 +01:00

README

OpenEmbedded/Yocto BSP layer for Digi's ConnectCore platforms
=============================================================

This layer provides support for Digi's ConnnecCore platforms for use
with OpenEmbedded and/or Yocto.

This layer depends on:

git://git.yoctoproject.org/poky.git
git://git.openembedded.org/meta-openembedded.git
git://git.yoctoproject.org/meta-freescale.git

Digi's license agreements
-------------------------

All software is covered by Digi's general EULA and Digi's Open Source
EULA. To have the right to use the software in your images you need to
read and accept both EULAs at the DIGI_EULA and DIGI_OPEN_EULA files.

NXP Semiconductors' software license agreement
----------------------------------------------

Some platforms depends on libraries and packages that are covered by
NXP Semiconductors' EULA. To have the right to use those binaries in
your images you need to read and accept the EULA file in meta-freescale
Yocto layer.

Support
-------

This layer is provided 'as is' with no guarantee. However, some support
may be available from tech.support@digi.com