mbedtls: build with v2 version by default
PATCH 1/1 mbedtls: build with v2 version by default
For anyone else that wants to use the newer v3, there is PREFERRED_VERSION.
Signed-off-by Beniamin Sandu <[email protected]>
--- meta-networking/recipes-connectivity/mbedtls/mbedtls_3.4.0.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-networking/recipes-connectivity/mbedtls/mbedtls_3.4.0.bb +3 -0
@@ -31,6 +31,9 @@ SRC_URI = "git://github.com/ARMmbed/mbedtls.git;protocol=https;branch=master \ inherit cmake update-alternatives ptest +# Build with the v2 LTS version by default +DEFAULT_PREFERENCE = "-1" + PACKAGECONFIG ??= "shared-libs programs ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" PACKAGECONFIG[shared-libs] = "-DUSE_SHARED_MBEDTLS_LIBRARY=ON,-DUSE_SHARED_MBEDTLS_LIBRARY=OFF" PACKAGECONFIG[programs] = "-DENABLE_PROGRAMS=ON,-DENABLE_PROGRAMS=OFF"
Signature · 1 line
2.25.1