I have taken two yocto projects recently and compiled openssl 1.1.1 in projects. I fully understood your questions and can help you resolve this issue.
By the way, I have the following experience:
● 8 years’ experience with C/C++ programming
● 5 years’ experience with Qt/QML programming, CMake toolchain
● 8 years’ experience with Linux
● 8 years’ experience with microcontroller
● 8 years’ experience with communication (CAN, IIC, TCP/UDP, mDNS, etc)
● 8 years’ experience with source control