I have a RISC-V dev board for which I am building Yocto Linux. Some of the applications require OpenSSL and the development headers and libs to build the applications.
I have been able to add openssl in IMAGE_INSTALL in the bb recipe for the base image and sdk image. However, when I use the SDK, or Extensible SDK, I cannot build the target applications, because cmake cannot find openssl.
My current workaround has been to install the EXT SDK, invoke the SDK, then install openssl and the development headers and libraries with the following: $ devtool sdk-install openssl
My question is this: What do I have to add to my SDK recipes so that all of the development headers and static libraries for openssl end up in my target sysroot?
Modified SDK BitBake recipe DEPENDS/RDEPENDS environment variables to add openssl. Didn't seem to make a difference.
Also tried adding to the TOOLCHAIN_[HOST/TARGET]_TASK. That also did not work. I also tried adding openssl with devtool sdk-install openssl, and then deriving another SDK after the install using "devtool build-sdk". However after installing this EXT-SDK, I still saw errors indicating openssl was not found.