diff options
| author | Timo Schuster <timo.schuster@leica-microsystems.com> | 2024-06-15 00:09:33 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-06-14 15:46:50 -0700 |
| commit | e35ce3956a71cad074a7e8761142bd7fd3498a2c (patch) | |
| tree | 825f8a100aace7efdbb1128b2bba814662d33633 | |
| parent | f58552c0143819494b37e9d590dab77208bdb555 (diff) | |
| download | meta-openembedded-e35ce3956a71cad074a7e8761142bd7fd3498a2c.tar.gz | |
mbedtls: Do not set LIB_INSTALL_DIR to an absolute path to make MbedTLSTargets.cmake relocateable.
Signed-off-by: Timo Schuster <timo.schuster@leica-microsystems.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.0.bb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.0.bb b/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.0.bb index a10fce0ffc..7011d54f35 100644 --- a/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.0.bb +++ b/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.0.bb | |||
| @@ -44,8 +44,6 @@ PACKAGECONFIG[werror] = "-DMBEDTLS_FATAL_WARNINGS=ON,-DMBEDTLS_FATAL_WARNINGS=OF | |||
| 44 | PACKAGECONFIG[psa] = "" | 44 | PACKAGECONFIG[psa] = "" |
| 45 | PACKAGECONFIG[tests] = "-DENABLE_TESTING=ON,-DENABLE_TESTING=OFF" | 45 | PACKAGECONFIG[tests] = "-DENABLE_TESTING=ON,-DENABLE_TESTING=OFF" |
| 46 | 46 | ||
| 47 | EXTRA_OECMAKE = "-DLIB_INSTALL_DIR:STRING=${libdir}" | ||
| 48 | |||
| 49 | # For now the only way to enable PSA is to explicitly pass a -D via CFLAGS | 47 | # For now the only way to enable PSA is to explicitly pass a -D via CFLAGS |
| 50 | CFLAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'psa', ' -DMBEDTLS_USE_PSA_CRYPTO', '', d)}" | 48 | CFLAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'psa', ' -DMBEDTLS_USE_PSA_CRYPTO', '', d)}" |
| 51 | 49 | ||
