meta-digi/meta-digi-arm
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
..
classes global: remove IMAGE_NAME_SUFFIX from IMAGE_LINK_NAME 2024-10-17 13:03:37 +02:00
conf conf: machine: ccimx6ul: update device tree path on Linux kernel v6.6 2024-10-24 11:52:43 +02:00
custom-licenses kirkstone migration: cosmetic, clean build warnings 2022-06-21 16:49:56 +02:00
dynamic-layers iw61x wireless: update for release lf-6.6.36-2.1.0 2024-10-23 11:58:57 +02:00
recipes-bsp trustfence-cst: use the same toolchain when building internal openssl and cst 2024-10-28 16:22:16 +01:00
recipes-connectivity/nxp-wlan-sdk freescale-layer: nxp-wlan-sdk: sync with meta-imx scarthgap-6.6.23-2.0.0 2024-10-17 13:03:37 +02:00
recipes-core Update Digi Copyright header 2024-07-15 09:28:58 +02:00
recipes-digi dey: cosmetic, mark patches as DEY specific 2024-10-22 15:48:00 +02:00
recipes-kernel linux-dey-6.6: add support to ccimx6ul and ccimx8x platforms 2024-10-24 11:52:43 +02:00
wic sdcard: add support to create sdcard image for CCMP2 2024-09-04 11:38:34 +02: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