summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaonguyen-qualgo <hao.nna@qualgo.net>2026-03-09 17:42:22 +0700
committerAnuj Mittal <anuj.mittal@oss.qualcomm.com>2026-03-23 14:14:58 +0530
commit1bdb7dc1219c4bed758f961abbc6d742de6abbda (patch)
tree74812064a9f5d751be9707b4513cd8f77b1a7bdc
parent4d3e2639dec542b58708244662d5ce36810fc510 (diff)
downloadmeta-openembedded-1bdb7dc1219c4bed758f961abbc6d742de6abbda.tar.gz
mbedtls: Do not set LIB_INSTALL_DIR to an absolute path to make MbedTLSTargets.cmake relocateable
Signed-off-by: haonguyen-qualgo <hao.nna@qualgo.net> Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
-rw-r--r--meta-networking/recipes-connectivity/mbedtls/mbedtls_2.28.10.bb2
-rw-r--r--meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb2
2 files changed, 0 insertions, 4 deletions
diff --git a/meta-networking/recipes-connectivity/mbedtls/mbedtls_2.28.10.bb b/meta-networking/recipes-connectivity/mbedtls/mbedtls_2.28.10.bb
index 53462953ef..55a95a68b2 100644
--- a/meta-networking/recipes-connectivity/mbedtls/mbedtls_2.28.10.bb
+++ b/meta-networking/recipes-connectivity/mbedtls/mbedtls_2.28.10.bb
@@ -40,8 +40,6 @@ PACKAGECONFIG[werror] = "-DMBEDTLS_FATAL_WARNINGS=ON,-DMBEDTLS_FATAL_WARNINGS=OF
40PACKAGECONFIG[psa] = "" 40PACKAGECONFIG[psa] = ""
41PACKAGECONFIG[tests] = "-DENABLE_TESTING=ON,-DENABLE_TESTING=OFF" 41PACKAGECONFIG[tests] = "-DENABLE_TESTING=ON,-DENABLE_TESTING=OFF"
42 42
43EXTRA_OECMAKE = "-DLIB_INSTALL_DIR:STRING=${libdir}"
44
45# For now the only way to enable PSA is to explicitly pass a -D via CFLAGS 43# For now the only way to enable PSA is to explicitly pass a -D via CFLAGS
46CFLAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'psa', ' -DMBEDTLS_USE_PSA_CRYPTO', '', d)}" 44CFLAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'psa', ' -DMBEDTLS_USE_PSA_CRYPTO', '', d)}"
47 45
diff --git a/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb b/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb
index 3e46d16ce5..eec39ac85e 100644
--- a/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb
+++ b/meta-networking/recipes-connectivity/mbedtls/mbedtls_3.6.5.bb
@@ -42,8 +42,6 @@ PACKAGECONFIG[werror] = "-DMBEDTLS_FATAL_WARNINGS=ON,-DMBEDTLS_FATAL_WARNINGS=OF
42PACKAGECONFIG[psa] = "" 42PACKAGECONFIG[psa] = ""
43PACKAGECONFIG[tests] = "-DENABLE_TESTING=ON,-DENABLE_TESTING=OFF" 43PACKAGECONFIG[tests] = "-DENABLE_TESTING=ON,-DENABLE_TESTING=OFF"
44 44
45EXTRA_OECMAKE = "-DLIB_INSTALL_DIR:STRING=${libdir}"
46
47# For now the only way to enable PSA is to explicitly pass a -D via CFLAGS 45# For now the only way to enable PSA is to explicitly pass a -D via CFLAGS
48CFLAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'psa', ' -DMBEDTLS_USE_PSA_CRYPTO', '', d)}" 46CFLAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'psa', ' -DMBEDTLS_USE_PSA_CRYPTO', '', d)}"
49 47