wolfSSL / meta-wolfssl

wolfSSL layer for OpenEmbedded and Yocto, containing product recipes, examples, and bbappend files.
https://www.wolfssl.com
GNU General Public License v2.0
30 stars 22 forks source link

Adding ability to use 2.x, 3.x, and newer versions of Yocto with 1 set of recipes #80

Closed night1rider closed 8 months ago

night1rider commented 8 months ago

This is a draft preview for a PR that is intended to have yocto 4.x and newer and yocto 2.x/3.x compatible recipes so that we only need to keep track of 1 branch effectively halving the workload of maintaining meta-wolfssl.

This is done by using python calls inside the .bb/.bbappend files so that appropriate syntax is conditionally used based on the distro of yocto being used to compile at that moment in time.

I have updated the readme according and tested this on the Yocto's Dunfell (3.1) and Kirkstone (4.0) LTS and then also Yocto Sumo (2.5) since thats the oldest version we have supported.

The only thing I haven't tested yet was its usage with Xilinx's Petalinux