mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-11 13:27:14 +00:00
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 <beniaminsandu@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
8814f25902
commit
b541346589
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user