2025-04-01 5:32 AM - edited 2025-04-01 5:32 AM
Hi ST community!
I am porting our Yocto bsp to the latest st scarthgap (openstlinux-6.6-yocto-scarthgap-mpu-v25.03.19) for our custom modules based on a stm32mp157c. When I source the Yocto SDK, the error is shown:
[SDK ERROR] Issue to optee export-user_ta directory
My main issue is that I cannot recompile optee (4.0.0-stm32mp-r1.2) outside of yocto:
make PLATFORM=stm32mp1 CFG_EMBED_DTB_SOURCE_FILE=<our-devkit>.dts CFG_TEE_CORE_LOG_LEVEL=2 O=build all
...
arm-poky-linux-gnueabi-ld.bfd: cannot find libgcc.a: No such file or directory
I have tried to pass the sysroot on the command line (CFLAGS, LDFLAGS, ...) but nothing worked!
Thanks for the pointers!