meta-digi/meta-digi-arm/recipes-bsp
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
..
alsa-state alsa-state: add support for ccimx8mn platform 2020-01-10 13:21:27 +01:00
digi-sc-firmware digi-sc-firmware: update to v1.6.0 2020-11-05 12:49:55 +01:00
firmware-atheros meta-digi recipes: adjust machine overrides for new platform 2017-10-18 09:20:11 +02:00
firmware-imx recipes-bsp: firmware-imx: Update recipes to new BSP release imx_5.4.47_2.2.0 2020-11-02 22:04:32 +01:00
firmware-qualcomm firmware_qualcomm: ccimx8mn: update US Board Data File Target Powers table 2020-11-13 08:56:34 +01:00
formfactor formfactor: add ccimx8x support 2018-07-03 08:33:31 +02:00
imx-atf recipes-bsp: imx-aft: Update recipes to new BSP release imx_5.4.47_2.2.0 2020-11-02 22:04:59 +01:00
imx-mkimage recipes-bsp: imx-mkimage: Update recipes to new BSP release imx_5.4.47_2.2.0 2020-11-02 22:05:39 +01:00
imx-seco recipes-bsp: imx-seco: Update recipes to new BSP release imx_5.4.47_2.2.0 2020-11-02 22:05:55 +01:00
imx-vpu recipes-bsp: imx-vpu: Update recipes to new BSP release imx_5.4.47_2.2.0 2020-11-02 22:06:14 +01:00
trustfence-cst trustfence-cst: build CST using libcrypto from SDK 2020-12-18 17:19:46 +01:00
u-boot uboot: add script to update firmware from a USB stick 2020-12-03 15:46:22 +01:00
usbutils usbutils_%.bbappend: remove udev-hwdb recomendation 2018-01-24 17:42:21 +01:00