meta-digi/meta-digi-arm/recipes-bsp
Gabriel Valcazar f02d6f9f3c trustfence-cst: use the same toolchain when building internal openssl and cst
An internal build of openssl is compiled as part of the cst build process,
which is later linked statically to the tool. When building the nativesdk
version of cst, openssl's internal "Configure" tool chooses Yocto's nativesdk
compiler for its compilation (x86_64-deysdk-linux-gcc). However, cst's Makefile
uses host tools by default, meaning it will compile its C files with the host's
gcc and link the final binary with the host's ld. This can lead to errors due
to the Yocto nativesdk compiler including symbols in the openssl libraries that
are unknown to the host's linker.

For example, when attempting to build nativesdk-trustfence-cst in Yocto 5.0 on
Ubuntu 2020.04, the following linker error appears multiple times:

undefined reference to `__isoc23_strtol'

Fix this by making sure cst uses the same toolchain as the one used when
building the internal openssl libraries (and ultimately, when the final binary
is linked together). This doesn't affect the native version of cst, which uses
the host's toolchain.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-10-28 16:22:16 +01:00
..
alsa-state alsa-state: ccmp1: fix control settings 2024-09-20 16:52:55 +02:00
ath-prop-tools Update Digi Copyright header 2024-07-15 09:28:58 +02:00
digi-sc-firmware Update Digi Copyright header 2024-07-15 09:28:58 +02:00
firmware-atheros firmware-atheros/firmware-qualcomm: remove hardcoded /lib in FILES paths 2024-10-17 13:03:37 +02:00
firmware-murata-infineon firmware-murata-infineon: add SRCREV_FORMAT variable 2024-10-17 13:03:37 +02:00
firmware-murata-nxp meta-digi: add new CCMX91 platform into DEY 2024-07-19 07:32:00 +02:00
firmware-qualcomm firmware-atheros/firmware-qualcomm: remove hardcoded /lib in FILES paths 2024-10-17 13:03:37 +02:00
formfactor Update Digi Copyright header 2024-07-15 09:28:58 +02:00
libedgetpu dey: cosmetic, mark patches as DEY specific 2024-10-22 15:48:00 +02:00
libubootenv dey: cosmetic, mark patches as DEY specific 2024-10-22 15:48:00 +02:00
tensorflow-lite meta-digi: fix binary names in Google Coral recipes 2023-05-10 09:11:19 +02:00
trustfence-cst trustfence-cst: use the same toolchain when building internal openssl and cst 2024-10-28 16:22:16 +01:00
trustfence-stm-signtools trustfence-stm-signtools: update recipe and package to latest versions 2024-09-18 18:12:52 +02:00
u-boot u-boot-tools: remove upstreamed fdt_add_pubkey patches 2024-10-17 13:03:37 +02:00
usbutils Update Digi Copyright header 2024-07-15 09:28:58 +02:00